From a56e8a97b83c40400ec633bc20cfc6c028b1c7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Mon, 3 Aug 2020 15:53:45 +0200 Subject: 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! --- src/ct_helper.erl | 4 ++-- 1 file 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. -- cgit v1.2.3