Explicitly set verify_peer in one test to see if it fixes it

This commit is contained in:
Loïc Hoguin 2023-04-26 18:22:02 +02:00
parent 4d4310806b
commit 948bd35343
No known key found for this signature in database
GPG Key ID: C69E26E3A9DF618F
1 changed files with 2 additions and 1 deletions

View File

@ -297,7 +297,8 @@ validate_chain1(Config) ->
%% Then: the connection is successful.
{ok, Con} = amqp_connection:start(#amqp_params_network{host = Host,
port = Port,
ssl_options = [{cacerts, RootCerts},
ssl_options = [{verify, verify_peer},
{cacerts, RootCerts},
{cert, CertTrusted},
{key, KeyTrusted}]}),
%% Clean: client & server TLS/TCP