Commit Graph

8900 Commits

Author SHA1 Message Date
Thales Macedo Garitezi c9e05acb4c fix(crl): make http timeout global for all listeners
We make the CRL HTTP timeout the same for all listeners for simplicity
of understanding and implementation.
2022-11-11 10:50:47 -03:00
Thales Macedo Garitezi 6d27e24bb1
Merge pull request #9347 from thalesmg/crl-rename-cfg-rv44
refactor(crl): rename `s/enable_crl_cache/enable_crl_check/g`
2022-11-11 10:49:51 -03:00
zhongwencool 2b6be02485 feat: validate tls_versions value 2022-11-11 18:08:49 +08:00
JimMoen 9b01c7f4a9
Merge pull request #9351 from JimMoen/fix-comment-typo
chore: fix comment in schema and config file
2022-11-11 17:53:42 +08:00
JimMoen 0748ca1238
chore: fix comment in schema and config file 2022-11-11 14:05:44 +08:00
Zaiming (Stone) Shi d5de5ac05c
Revert "fix: remove outdated cert store from packages" 2022-11-11 07:04:28 +01:00
Zaiming (Stone) Shi f9c1f8cf32 docs: add a comment to schema default value 2022-11-10 22:00:25 +01:00
Thales Macedo Garitezi 445e176898 refactor(crl): rename `s/enable_crl_cache/enable_crl_check/g` 2022-11-10 16:26:06 -03:00
Zaiming (Stone) Shi 38980ffd9e chore: bump version to v4.4.11-alpha.2 2022-11-10 20:23:33 +01:00
Zaiming (Stone) Shi 862e6b2c9c docs: add back the comment lost during conflict resolution 2022-11-10 18:48:58 +01:00
Zaiming (Stone) Shi 1774420da0
Merge pull request #9345 from thalesmg/register-crl-listener-rv44
feat(crl): register CRL URLs when starting TLS listeners
2022-11-10 18:23:38 +01:00
Zaiming (Stone) Shi dae7371f3b
Merge pull request #9346 from zmstone/1110-sync-v44
1110 sync v44
2022-11-10 18:21:13 +01:00
Thales Macedo Garitezi fbf5764b2d
docs: improve fn docs
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-11-10 14:02:43 -03:00
Zaiming (Stone) Shi c1d61a6f30 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-10 16:01:29 +01:00
Thales Macedo Garitezi 83183b7e4b feat(crl): register CRL URLs when starting TLS listeners 2022-11-10 11:40:14 -03:00
Zaiming (Stone) Shi 016bbd67ab Merge remote-tracking branch 'origin/release-v44' into release-v44 2022-11-10 15:15:07 +01:00
Xinyu Liu 89b6cce0bd
Merge pull request #9334 from terry-xiaoyu/fix_500_when_resource_unavailable
fix: make init_resource_with_retrier/4 only 'throw' when failed
2022-11-10 14:31:25 +08:00
Shawn 6725a36dbf fix: make init_resource_with_retrier/4 only 'throw' when failed 2022-11-10 10:44:11 +08:00
Zaiming (Stone) Shi 2fe841c451
Merge pull request #9324 from thalesmg/ocsp-fixes-rv44
OCSP + CRL fixes (rv4.4)
2022-11-09 09:08:05 +01:00
Zaiming (Stone) Shi f80884e3fa
Merge pull request #9330 from terry-xiaoyu/fix_raise_macro_rule_engine
fix: typos in the RAISE macro of rule_engine
2022-11-09 08:49:27 +01:00
Shawn 407a197c8a fix: typos in the RAISE macro of rule_engine 2022-11-09 12:06:58 +08:00
Thales Macedo Garitezi df58d19f89 fix(listener_ocsp): assert listener id is present in options (ssl) 2022-11-08 17:01:21 -03:00
Zaiming (Stone) Shi fb81c35cd7 refactor: introduce emqx_const_v1 for immutable anonymous funs 2022-11-08 17:00:57 -03:00
Thales Macedo Garitezi 2b30f95dee
test(ocsp): another fix for macos openssl versions
Co-authored-by: Ivan Dyachkov <dev@dyachkov.org>
2022-11-08 16:45:03 -03:00
Zaiming (Stone) Shi 32a8753e9d refactor: introduce emqx_const_v1 for immutable anonymous funs 2022-11-08 16:41:58 -03:00
Thales Macedo Garitezi ce282797be refactor(ocsp): use listener id instead of name for sni fun matching 2022-11-08 16:12:40 -03:00
Thales Macedo Garitezi 2dcecafce6 test(fix): account for non-openssl programs 2022-11-08 15:54:41 -03:00
Thales Macedo Garitezi bb249834f7 test(ocsp): add more tests 2022-11-08 15:46:16 -03:00
Thales Macedo Garitezi 2e5e6af677 fix(listener): pass along the listener name
The rigid `start_listener/3` does not allow to pass the original
`listener()` map forward, which contains the listener name needed for
OCSP SNI function to later find its required information.  To avoid
changing the arity of this exported function, we stuff the listener
name temporarily along with the esockd options...
2022-11-08 15:18:47 -03:00
Thales Macedo Garitezi cd053a28d4 docs(crl): add config docs for CRL options 2022-11-08 14:21:18 -03:00
Andrei Varga 24f8d41b9a
Merge pull request #9321 from emqx/av-43-remove-3rdparty-cert-in-packages
fix: remove outdated cert store from packages
2022-11-08 19:08:43 +02:00
Thales Macedo Garitezi b0e8e9dc28 refactor(crl): use cast for refreshing crls 2022-11-08 13:53:27 -03:00
Traphalet c319e91758 fix: remove outdated cert store from packages 2022-11-08 18:24:59 +02:00
Thales Macedo Garitezi 2713af507a refactor: move OCSP options into its own section 2022-11-08 13:19:14 -03:00
Thales Macedo Garitezi ca973db2fc refactor: split list comprehension over fn calls 2022-11-08 10:42:38 -03:00
Thales Macedo Garitezi c23c534525 refactor: fix typo, add more detail, rename option to be more clear 2022-11-08 10:42:38 -03:00
JianBo He 01ada64e46
Merge pull request #9325 from HJianBo/fix-flaky-test
test(stomp): fix flaky tests
2022-11-08 16:58:39 +08:00
JianBo He 491b402be3 test(stomp): fix flaky tests 2022-11-08 09:46:01 +08:00
Zaiming (Stone) Shi 45eed402d4 Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-07 22:16:05 +01:00
Zaiming (Stone) Shi a7768b6e98
Merge pull request #9313 from zmstone/1105-fix-resource-creation-retry-loop-should-delay-first
fix(emqx_rule_monitor): sleep before retry but not after
2022-11-07 22:09:28 +01:00
Zaiming (Stone) Shi 31a582241b chore: bump version to 4.4.11-alpha.1 2022-11-07 21:57:04 +01:00
Zaiming (Stone) Shi 237f8f7fde Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-07 21:55:46 +01:00
Thales Macedo Garitezi 11175b55f8 fix(ocsp): allow disabling ocsp without touching url 2022-11-07 17:50:02 -03:00
Zaiming (Stone) Shi 3ed10eae07 ci: set CT_READABLE default to true 2022-11-07 21:29:53 +01:00
Zaiming (Stone) Shi 95e7a03f01
Merge pull request #9323 from emqx/av-fix-env-reference
fix: env variable reference in upload-artifact@v3
2022-11-07 21:08:37 +01:00
Thales Macedo Garitezi 26d2ed3d31 fix(crl): allow specifying CRL URLs per listener 2022-11-07 16:42:51 -03:00
Traphalet 42158f79e0 fix: env variable reference in upload 2022-11-07 20:51:12 +02:00
Thales Macedo Garitezi 86278c99a6 fix: enforce minimum refresh interval for ocsp and crl caches 2022-11-07 15:35:07 -03:00
Zaiming (Stone) Shi ea31fc4529
Merge pull request #9322 from zmstone/1107-chore-sync-release-v44
1107 chore sync release v44
2022-11-07 18:53:41 +01:00
Zaiming (Stone) Shi 7b2c4998aa Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-07 15:24:26 +01:00