root1 > intermediate1.1 > intermediate1.2 > server_certificate
root2 > intermediate2.1 > intermediate2.2 > client_certificate
{ssl_options, [{cacertfile,"/etc/rabbitmq/keys/client/chained_ca_certificate.pem"},
{certfile,"/etc/rabbitmq/keys/server/server_certificate.pem"},
{keyfile,"/etc/rabbitmq/keys/server/server_key.pem"},
{depth,2},
{verify,verify_peer},
{fail_if_no_peer_cert,true},
{versions, ['tlsv1.2', 'tlsv1.1', tlsv1]}]}
openssl s_client -connect localhost:5671 -cert client/client_certificate.pem -key client/client_key.pem -CAfile server/chained_ca_certificate.pem
CONNECTED(00000003)
depth=3 CN = MyTestRootCA
verify return:1
depth=2 CN = MyIntermediateCA1
verify return:1
depth=1 CN = MyIntermediateCA2
verify return:1
depth=0 CN = illapikov, O = server
verify return:1
139799658641048:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:s3_pkt.c:1472:SSL alert number 48
139799658641048:error:140790E5:SSL routines:ssl23_write:ssl handshake failure:s23_lib.c:177:
=ERROR REPORT==== 30-Jan-2017::18:04:04 ===
SSL: certify: ssl_handshake.erl:1606:Fatal error: unknown ca
--
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.
root > intermediate1 > server_certificate
root > intermediate2 > client_certificate
root1 > server_certificate
root2 > client_certificate
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.
cat client_intermediate_ca root_ca server_intermediate_ca > all.pem
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 post to this group, send an email to rabbitmq-users@googlegroups.com.> To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
> 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 an email to rabbitm...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
MK
Staff Software Engineer, Pivotal/RabbitMQ
--
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 post to this group, send email to rabbitm...@googlegroups.com.
--MKStaff Software Engineer, Pivotal/RabbitMQ
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.
--MKStaff Software Engineer, Pivotal/RabbitMQ
--
MKStaff Software Engineer, Pivotal/RabbitMQ
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.
--MKStaff Software Engineer, Pivotal/RabbitMQ
--
hivehome.comHive | London | Cambridge | Houston | TorontoThe information contained in or attached to this email is confidential and intended only for the use of the individual(s) to which it is addressed. It may contain information which is confidential and/or covered by legal professional or other privilege. The views expressed in this email are not necessarily the views of Centrica plc, and the company, its directors, officers or employees make no representation or accept any liability for their accuracy or completeness unless expressly stated to the contrary.Hive is the trading name of Centrica Connected Home Limited (company no: 5782908), registered in England and Wales with its registered office at Millstream, Maidenhead Road, Windsor, Berkshire SL4 5GD.
--
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.
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.
For more options, visit https://groups.google.com/d/optout.
--Staff Software Engineer, Pivotal/RabbitMQ
Sergey
> >>>> > >> I've added root CAs to the Ubuntu trust store, but it still is not<br class="m_-8585800597342799526gmail_ms
--
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.
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-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
[ {rabbit, [ {loopback_users, []}, {default_user, <<"guest">>}, {default_pass, <<"guest">>}, {vm_memory_high_watermark, 0.7}, {auth_mechanisms, ['PLAIN','EXTERNAL']}, {ssl_listeners, [5671]}, {auth_backends, [rabbit_auth_backend_internal]}, {ssl_handshake_timeout, 15000}, {ssl_options, [{cacertfile,"/home/illapikov/rabbitmq/client/int+root.crt"}, {certfile,"/home/illapikov/rabbitmq/server/broker.crt"}, {keyfile,"/home/illapikov/rabbitmq/server/broker.key"}, {verify,verify_peer} ]}, {rabbitmq_management, [{load_definitions, "/etc/rabbitmq/definitions.json"}]}].
ls server/broker.crt broker.csr broker+intermediate.crt broker.key intermediate.crt intermediate.csr intermediate.key int+root.crt root.crt root.key
ls client/client.crt client.csr client.key intermediate.crt intermediate.csr intermediate.key int+root.crt root.crt root.key
openssl s_client -connect localhost:5671 -cert client/client.crt -key client/client.key -CAfile server/int+root.crt
Hi Luke,
openssl x509 -in client/root.crt -textCertificate: Data: Version: 3 (0x2) Serial Number: 12089268137388763119 (0xa7c5b551bb8167ef) Signature Algorithm: sha256WithRSAEncryption Issuer: CN=Client Root CA Validity Not Before: Apr 12 14:17:09 2018 GMT Not After : Apr 9 14:17:09 2028 GMT Subject: CN=Client Root CA
openssl x509 -in server/root.crt -textCertificate: Data: Version: 3 (0x2) Serial Number: 16915780918223294684 (0xeac0ed1f1907d0dc) Signature Algorithm: sha256WithRSAEncryption Issuer: CN=Server Root CA Validity Not Before: Apr 12 14:16:26 2018 GMT Not After : Apr 9 14:16:26 2028 GMT Subject: CN=Server Root CA
Also, I'm not sure I was clear enough - these root.crt are different from each other.
Not so sure, but it feels like RabbitMQ server wants to know not only about Client CAs, but about Server CAs as well.
--
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.