Closed ekmobile closed 1 year ago
nats.tls.enabled
must be true
Also if you are using mTLS the CA goes in tlsCA
Thanks for your response, I used this configuration
nats:
tls:
enabled: true
secret:
name: nats-client-tls
ca: "ca.crt"
cert: "tls.crt"
key: "tls.key"
but it gives me the same error.
If you can, join the #k8s channel on https://natsio.slack.com and we can try to debug there - it is probably environment related or missing a value, not looking like a bug
I'm using Kubernetes 1.27.2 on Docker Desktop for macOS. I reset the Kubernetes Cluster before running any command. I'm using the example from here to create a TLS Enabled Cluster:
tls.yaml:
helm install nats nats/nats --values tls.yaml
helm get values nats
gets me:after
then, i'm using the client example taken from here to access the server:
which gives me:
Do you have an idea what's going wrong?
Thanks