Hello,
I am trying to set up consul mesh on Kubernetes. I followed this guide:
https://www.consul.io/docs/k8s/installation/multi-cluster/kubernetes
My tls configuration looks like this:
tls:
enabled: true
verify: true
httpsOnly: true
enableAutoEncrypt: true
serverAdditionalDNSSANs: ["myserver.test"]
serverAdditionalIPSANs: ["10.xxx.xxx.xxx"]
caCert:
secretName: consul-ca-cert
secretKey: tls.crt
caKey:
secretName: consul-ca-key
secretKey: tls.key
I created the secrets creating a CA crt on using consul CLI on my workstation.
When I install using helm the Mesh Gateways return this error in logs:
Error registering service “mesh-gateway”: Put “https://10.xxx.xxx.xxx:8501/v1/agent/service/register”: x509: certificate signed by unknown authority
What did I get wrong in this procedure?
Thanks!