I'm trying to begin using x-pack and specify a https cert. In order to do so, I need each elasticsearch node to have a configured hostname (a.foo.com) instead of starting with its IP address (1.2.3.4). Otherwise, SSL fails to start up with entries like here:
Caused by: java.security.cert.CertificateException: No subject alternative names matching IP address 127.0.0.1 found
I know that kibana can be configured with a server.name
. Elasticsearch can't. So, how do I have ES start with a configured domain name?