summaryrefslogtreecommitdiff
path: root/lib/diameter/test/diameter_tls_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/diameter/test/diameter_tls_SUITE.erl')
-rw-r--r--lib/diameter/test/diameter_tls_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/test/diameter_tls_SUITE.erl b/lib/diameter/test/diameter_tls_SUITE.erl
index 1e7f7ed50a..2033b60355 100644
--- a/lib/diameter/test/diameter_tls_SUITE.erl
+++ b/lib/diameter/test/diameter_tls_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2022. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2023. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -280,7 +280,7 @@ inband_security(Ids) ->
ssl_options(Dir, Base) ->
Root = filename:join([Dir, Base]),
- [{ssl_options, [{certfile, Root ++ "_ca.pem"},
+ [{ssl_options, [{verify, verify_none},{certfile, Root ++ "_ca.pem"},
{keyfile, Root ++ "_key.pem"}]}].
make_cert(Dir, Base) ->
@@ -290,7 +290,7 @@ make_cert(Dir, Keyfile, Certfile) ->
[KP,CP] = [filename:join([Dir, F]) || F <- [Keyfile, Certfile]],
KC = join(["openssl genrsa -out", KP, "2048"]),
- CC = join(["openssl req -new -x509 -key", KP, "-out", CP, "-days 7",
+ CC = join(["openssl req -new -sha256 -x509 -key", KP, "-out", CP, "-days 7",
"-subj /C=SE/ST=./L=Stockholm/CN=www.erlang.org"]),
%% Hope for the best and only check that files are written.