How to connect to a NATS server configured with self-signed certificate, from natscli? #597
Answered
by
mtmk
aDisplayName
asked this question in
Q&A
-
If a nats server is configured using self-signed TLS certificate (.crt, .key), how to connect to this server using nats cli? I would assume that the client side needs to provide the self-signed CA file, from which those self-signed TLS certificates were issued, to the nats cli using |
Beta Was this translation helpful? Give feedback.
Answered by
mtmk
Aug 5, 2024
Replies: 1 comment 1 reply
-
that's right. I think you need to use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aDisplayName
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
that's right. I think you need to use
--tlsca=FILE TLS certificate authority chain ($NATS_CA)
option. see alsonats --help
cc @ripienaar