Hey @pk.241011 how did you go about generating the certificate? You'll want the domain name of the certificate to match the domain name of the URL that you're using to access Kibana.
If you purchased a SSL certificate for a public domain name, you'll want to access Kibana using the public domain-name as opposed to the hostname of the server.
Can someone point out given this what should I be putting in :
Enter instance name:
Enter IP Addresses for instance (comma-separated if more than one) []:
Enter DNS names for instance (comma-separated if more than one) []:
@pk.241011 it all depends on the domain-name, or ip address that you're using to access Kibana.
If you're accessing Kibana on the following url https://localhost you'll want to use localhost for the Enter DNS names for instance. Or if you're using https:/Alpha.corp.StarkIndustries.org, you'll want to use Alpha.copr.StarkIndustries.org
Is Elastic Certificate Tool Autogenerated CA trusted by default by the browsers or do I have to add exceptions (since it is self signed) to browsers to make warning go away?
No, that would be a major security problem - the tool allows you to generate certificates for all sorts of hostnames. If the browsers trusted them by default, that would break the whole certificate trust model that is used on the internet.
If you use the certgen tool in its default mode (i.e. If you don't use the -csr option) then the certificates that you get will not be automatically trusted by the browser.
You have three broad options:
Accept that it's a self-signed certificate and add an exception in your browser. Note You need to decide for yourself whether this is a good idea or not. If you are the only one using the site, then this might be a good option, but if you are asking other people to login to Kibana, then training them to "just add an exception" might not be a good idea. This decision is one that depends on context, and we aren't able to advise you as to whether it is suitable in your situation.
Add the auto-generated CA as a trusted issuer in your browser. Note There are security implications if you do this, and as with the previous option, we can't tell you whether it's a good idea or not. You should make sure you understand the implications of this before you go down that path.
Use a trusted CA (commercial or organisational to sign your certificate. The certgen documentation has instructions for that. Depending on your circumstances there may be a financial cost, and it may require that you are the owner/admin of your domain.
We have an article on our blog about how to use Let's Encrypt certificates in Elasticsearch and Kibana. That may be helpful to you.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.