2018-08-02 14:03:57.507 [info] <0.844.0> TLS server: In state certify at ssl_handshake.erl:1626 generated SERVER ALERT: Fatal - Unknown CA2018-08-02 14:05:08.710 [info] <0.905.0> TLS server: In state certify received CLIENT ALERT: Fatal - Bad Certificateopenssl seems to be able to connect to rabbit
$ openssl s_client -connect myserver:5671 -cert client.pem -key client.key -CAfile ca.crt
CONNECTED(00000003)
depth=2 C = US, L = Michigan, O = MyCompany, CN = MyCompany Root
verify return:1
depth=1 C = US, L = Michigan, O = MyCompany, CN = MyCompany Rabbit
verify return:1
depth=0 C = US, L = Michigan, O = MyCompany, CN = rabbitserver
verify return:1
---
Certificate chain
0 s:/C=US/L=Michigan/O=MyCompany/CN=rabbitserver
i:/C=US/L=Michigan/O=MyCompany/CN=MyCompany Rabbit
1 s:/C=US/L=Michigan/O=MyCompany/CN=MyCompany Rabbit
i:/C=US/L=Michigan/O=MyCompany/CN=MyCompany Root
2 s:/C=US/L=Michigan/O=MyCompany/CN=MyCompany Root
i:/C=US/L=Michigan/O=MyCompany/CN=MyCompany Root
---
Server certificate
-----BEGIN CERTIFICATE-----
<--BASE64 DATA-->
-----END CERTIFICATE-----
subject=/C=US/L=Michigan/O=MyCompany/CN=rabbitserver
issuer=/C=US/L=Michigan/O=MyCompany/CN=MyCompany Rabbit
---
Acceptable client certificate CA names
/C=US/L=Michigan/O=MyCompany/CN=MyCompany Root
/C=US/L=Michigan/O=MyCompany/CN=MyCompany Rabbit
Client Certificate Types: ECDSA sign, RSA sign, DSA sign
Requested Signature Algorithms: ECDSA+SHA512:RSA+SHA512:ECDSA+SHA384:RSA+SHA384:ECDSA+SHA256:RSA+SHA256:ECDSA+SHA224:RSA+SHA224:ECDSA+SHA1:RSA+SHA1:DSA+SHA1
Shared Requested Signature Algorithms: ECDSA+SHA512:RSA+SHA512:ECDSA+SHA384:RSA+SHA384:ECDSA+SHA256:RSA+SHA256:ECDSA+SHA224:RSA+SHA224:ECDSA+SHA1:RSA+SHA1:DSA+SHA1
Peer signing digest: SHA512
Server Temp Key: ECDH, P-521, 521 bits
---
SSL handshake has read 2280 bytes and written 2115 bytes
Verification: OK
---
New, TLSv1.2, Cipher is ECDHE-ECDSA-AES256-GCM-SHA384
Server public key is 256 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-ECDSA-AES256-GCM-SHA384
Session-ID: 7DA984EFC27DCF3646A2851C169E17AB36CC0E56B86299528339656EBFD4EA80
Session-ID-ctx:
Master-Key: ...
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1533223225
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---
closed2018-08-02 15:20:35.420 [info] <0.2215.0> accepting AMQP connection <0.2215.0> (10.56.1.195:46486 -> 10.56.1.256:5671)
2018-08-02 15:20:35.421 [warning] <0.2215.0> closing AMQP connection <0.2215.0> (10.56.1.195:46486 -> 10.56.1.256:5671):
{handshake_timeout,handshake}HiHere's what I get on the client side (Data below is masked)
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
2018-08-03 07:45:58.754 [info] <0.1012.0> accepting AMQP connection <0.1012.0> (10.46.6.132:51384 -> 10.46.6.213:5671)
2018-08-03 07:45:58.795 [error] <0.1012.0> Error on AMQP connection <0.1012.0> (10.46.6.132:51384 -> 10.46.6.213:5671, state: starting):
EXTERNAL login refused: user 'myuser' - invalid credentials
2018-08-03 07:46:01.796 [info] <0.1012.0> closing AMQP connection <0.1012.0> (10.46.6.132:51384 -> 10.46.6.213:5671)To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.