amqp-simple-pub-sub
amqp-simple-pub-sub copied to clipboard
How to configure 2 way ssl
Hi,
How to configure 2 way SSL reference to local keystore.jks and truststore.jks ?
Appreciate for any advice Jason
Right now you can't as I don't pass through any ssl options to amqplib
but I could fix that.
You would have to get the keys from the java keystores (see https://security.stackexchange.com/questions/3779/how-can-i-export-my-private-key-from-a-java-keytool-keystore/66865#66865 for example)
From there I would need to modify my code slightly to allow you pass in ssl
options as per https://www.squaremobius.net/amqp.node/ssl.html
Does that help you? If so then I am happy to modify the code to suit.