Hi,
I am trying to create the connection from my console application and I end up with following error.
- AggregateException: One or more errors occurred. (Authentication
failed because the remote party sent a TLS alert: 'HandshakeFailure'.)
- AuthenticationException: Authentication failed because the remote
party sent a TLS alert: 'HandshakeFailure'.
c. Win32Exception: The message received was
unexpected or badly formatted
Using s_Client I am able to connect the broker to send the message. My protocol is TLS1.2.
Rabbitmq configuration is
[
{rabbit, [
{cluster_partition_handling, autoheal},
{handshake_timeout, 60000},
{auth_mechanisms, ['EXTERNAL']},
{ssl, true},
{ssl_listeners, [5671]},
{ssl_options,[
{cacertfile,"E:/Reference/Certificates/18_may_2023/testca/ca_certificate.pem"},
{certfile,"E:/Reference/Certificates/18_may_2023/server/server_certificate.pem"},
{keyfile, "E:/Reference/Certificates/18_may_2023/server/private_key.pem"},
{password, "MySecretPassword"},
{verify, verify_peer},
{fail_if_no_peer_cert, true}]}
]}].