Commit Graph

8767 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi 949916fc1c ci: use self-hosted for all Erlang tests
prepare, proper, eunit, ct and cover
2022-11-14 19:57:36 +01:00
Thales Macedo Garitezi 92d80b5e55 fix(crl): correct return for `handle_cast(refresh_config)` 2022-11-14 15:08:30 -03:00
JimMoen 1f05498b27
Merge pull request #9360 from JimMoen/fix-api-method-case-sensitive
fix(api): uppercase api request method
2022-11-14 23:38:05 +08:00
Zaiming (Stone) Shi bf6ffe103f Merge remote-tracking branch 'origin/release-v43' into release-v44 2022-11-14 14:46:32 +01:00
Thales Macedo Garitezi 2952d01a53
Merge pull request #9362 from thalesmg/flatten-crl-cache-ns-rv44
refactor: flatten crl_cache config namespace into root
2022-11-14 10:44:51 -03:00
Thales Macedo Garitezi 5df513f277 refactor: flatten crl_cache config namespace into root 2022-11-14 09:57:04 -03:00
zhongwencool 5e3814c480
Merge pull request #9356 from zhongwencool/tls-version-validation
feat: validate tls_versions value
2022-11-14 20:12:09 +08:00
JimMoen 7b5340ce09
fix(api): uppercase api request method 2022-11-14 17:55:17 +08:00
Zaiming (Stone) Shi e667b564d8 docs: add a comment to .ci/build_packages/Dockerfile 2022-11-14 10:10:34 +01:00
Zaiming (Stone) Shi 6abb451f56
Merge pull request #9348 from zmstone/1110-add-comments
docs: add a comment to schema default value
2022-11-14 09:48:44 +01:00
Zaiming (Stone) Shi be040ff001
Merge pull request #9358 from zmstone/1114-clone-depth-0
ci: ensure github checkout@v1 and checkout@v2 fetch full history
2022-11-14 09:09:32 +01:00
Zaiming (Stone) Shi a48c75594e ci: ensure github checkout@v1 and checkout@v2 fetch full history
for release builds, alwasy fetch full history otherwise
the old tags will not be found resulting in no relup generated
2022-11-14 08:49:03 +01:00
zhongwencool dfa3f4b5f7
chore: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-11-14 09:26:48 +08:00
Thales Macedo Garitezi 5c169d2060
Merge pull request #9357 from thalesmg/fix-crl-http-timeout-global-rv44
fix(crl): make http timeout global for all listeners
2022-11-11 13:05:28 -03:00
Thales Macedo Garitezi 0ca7492515 feat(crl): add refresh config API 2022-11-11 12:21:03 -03:00
Zaiming (Stone) Shi 7317a8aba8
Merge pull request #9350 from emqx/revert-9321-av-43-remove-3rdparty-cert-in-packages
Revert "fix: remove outdated cert store from packages"
2022-11-11 14:56:06 +01:00
Thales Macedo Garitezi b08d1651ad docs: remove comment
The server will still fetch CRLs on the fly.
2022-11-11 10:50:47 -03:00
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