Hello. I’ve just attempted to enable TLS and am failing hostname verification. I have a wildcard cert for our domain *.domain.tld
and am presenting that. Consul finds the hostname correctly as consul-1.domain.tld
, but verification fails with certificate is valid for *.domain.tld, not server.us-west-2a.domain.tld"
I have as part of my configuration:
"domain": "domain.tld"
"node_name": "consul-1"
The hostname is set on the host as consul-1.domain.tld
.
What is generating this server.${az}.${domain}
name being passed to the verification step?