Hi elastic engineers,
I have a few questions in regards to the certificate generation process
[1] Is it allowed to use custom name for http certificate instead of default http.p12 ?
The elasticsearch-certutil does allow to generate the certificate (encrypt communication between nodes in a cluster) with custom name like elastic-certificates-TEST.p12 instead of default name elastic-certificates.p12
Running utility "bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12" prompts to enter the desired output file name and I can use/reference this name elastic-certificates-TEST.p12 in elasticsearch.yml
But generating the http.p12 certificate does not provide this capability and running utility "bin/elasticsearch-certutil http" will always generate *.zip file which contains the http certificate with default name http.p12
I renamed default file name http.p12, after it has been generated, to new custom name like http-TEST.p12, referenced this custom name in elasticserch.yml and was able to successfully run the 2 servers/4 nodes cluster.
Also, I generated http-TEST.crt from http-TEST.p12 as follows
openssl pks12 -in http-TEST.p12 -out http-TEST.crt -cacerts -nokeys
and was able to successfully run CURL REST API commands and java app client by referencing this custom name http-TEST.crt
Just rephrasing my original question as follows
Is this renaming of default names http.p12/http.crt to custom names like http-TEST.p12/http-TEST.crt allowed and will Not change the normal behavior of elastic cluster ?
I didn't find any references about this possibility/capability in elastic docs
Renaming default certificate names http.p12/http.crt to custom names would be helpful when maintaining certificates for different environments, like http-QA.p12/http-QA.crt, http-XAT.p12/http-XAT.crt, http-PROD.p12/http-PROD.crt
Another question is in regards to certificate generation and elastic cluster running with different java versions
[2] Is it possible/allowed to generate certificates with one particular version, like jdk1.8.0_65 and run on the elastic cluster with another higher version, like jdk1.8.0_180 or java 11 ?
Thanks in advance