Connecting with TLS when NATS is insecure #561
GRRedWings
started this conversation in
General
Replies: 1 comment 3 replies
-
If you want to require each client to have a certificate, you need to set |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In using this library compared to others like a Java client, it seems that clients sometimes act slightly different. One specific thing I have noticed is that if create a connection expecting it to use tls by setting the connection URL with tls:\ and setting proper tls parameters, it will connect fine even if NATs is configured to not require TLS.
Is there a definitive answer that this is the expected behavior? From what I see this type of handling is up to the client to implement safeguards, as NATS inherently allows it.
Thanks for any input on this scenario.
Beta Was this translation helpful? Give feedback.
All reactions