self signed certificate between main node and leaf node? #6678
Unanswered
static-moonlight
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have 2 nats servers running:
nats (leaf node) -> nats-hub (main node)
To better mimic production, I want to setup a TLS connection in my testing environment, using a self-signed certificate. When I do, the nats-hub is reporting this:
this is the tls part of my NATS config (main node):
I also tried with or without the
insecure: true
config, different combinations on both ends. No success though. Can somebody give me an example how to make NATS to accept my self-signed certificate?And btw, why is the main node complaining about this? I had expected that the leaf node might have a problem with the certificate, offered by the main node. But that the main node iself is rejecting the certificate (as part if its config), actually surprised me.
Beta Was this translation helpful? Give feedback.
All reactions