Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure 2 way ssl #52

Open
jasonhue8183 opened this issue Jun 12, 2019 · 1 comment
Open

How to configure 2 way ssl #52

jasonhue8183 opened this issue Jun 12, 2019 · 1 comment
Assignees
Labels
good first issue Good for newcomers question Further information is requested

Comments

@jasonhue8183
Copy link

Hi,

How to configure 2 way SSL reference to local keystore.jks and truststore.jks ?

Appreciate for any advice
Jason

@davesag
Copy link
Owner

davesag commented Jun 12, 2019

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.

@davesag davesag added good first issue Good for newcomers question Further information is requested labels Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants