mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
40017f5e59
In case `verify_server_hostname` is set in the configuration, Consul checks the certificate against `server.<datacenter>.<domain>`. The name suggested by the guide generates errors like the following: ``` 2018/10/10 12:42:20 [ERR] consul: Failed to confirm peer status for consul-3: rpc error getting client: failed to get conn: x509: certificate is valid for server.node.consul.labs, localhost, not server.consul.labs. Retrying in 16s... ``` Removing the `node` part from the certificate permits them to work also when that option is set.