diff options
author | Jean-Sébastien Pédron <[email protected]> | 2020-08-03 15:53:45 +0200 |
---|---|---|
committer | Jean-Sébastien Pédron <[email protected]> | 2020-08-03 15:54:19 +0200 |
commit | a56e8a97b83c40400ec633bc20cfc6c028b1c7b4 (patch) | |
tree | 49204b59945122a7a0fbd62647a9386add401c32 | |
parent | d7cc40e27d1fc01f0aa33381415f7aad8573699f (diff) | |
download | ct_helper-a56e8a97b83c40400ec633bc20cfc6c028b1c7b4.tar.gz ct_helper-a56e8a97b83c40400ec633bc20cfc6c028b1c7b4.tar.bz2 ct_helper-a56e8a97b83c40400ec633bc20cfc6c028b1c7b4.zip |
ct_helper: Switch from DSA algorithm to the default of RSA
The created certificate & key don't seem to work properly with Erlang 24
compiled from the `master` branch.
If we switch to RSA, then Erlang 24 is happy!
-rw-r--r-- | src/ct_helper.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ct_helper.erl b/src/ct_helper.erl index d96385b..0c1247b 100644 --- a/src/ct_helper.erl +++ b/src/ct_helper.erl @@ -196,8 +196,8 @@ is_process_down(Pid, Timeout) -> -spec make_certs() -> {CaCert::der_encoded(), Cert::der_encoded(), Key::key()}. make_certs() -> - CaInfo = {CaCert, _} = erl_make_certs:make_cert([{key, dsa}]), - {Cert, {Asn1Type, Der, _}} = erl_make_certs:make_cert([{key, dsa}, {issuer, CaInfo}]), + CaInfo = {CaCert, _} = erl_make_certs:make_cert([]), + {Cert, {Asn1Type, Der, _}} = erl_make_certs:make_cert([{issuer, CaInfo}]), {CaCert, Cert, {Asn1Type, Der}}. %% @doc Create a set of certificates and store them in an ets table. |