Elasticsearch 6.3 - How to enable SSL in elasticsearch

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Elasticsearch 6.3 - How to enable SSL in elasticsearch



Any idea how to enable https in elastic search. Give me the steps to understand by developer




1 Answer
1



You can specify SSL options for any output that supports SSL. You can also specify SSL options when you set up the Kibana endpoint.



Example output config with SSL enabled:


output.elasticsearch.hosts: ["192.168.1.42:9200"]
output.elasticsearch.ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
output.elasticsearch.ssl.certificate: "/etc/pki/client/cert.pem"
output.elasticsearch.ssl.key: "/etc/pki/client/cert.key"



Example Kibana endpoint config with SSL enabled:


setup.kibana.host: "192.0.2.255:5601"
setup.kibana.protocol: "https"
setup.kibana.ssl.enabled: true
setup.kibana.ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
setup.kibana.ssl.certificate: "/etc/pki/client/cert.pem"
setup.kibana.ssl.key: "/etc/pki/client/cert.key



you can go through official documentation from this link :) : https://www.elastic.co/guide/en/apm/server/current/configuration-ssl.html





how to generate cert.pem and cert.key. is it default in system ?
– Learn Hadoop
1 min ago






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

K,eEKNK0I2C,4rI7QxWqQQe kzR7D,Wt,n4uV5 OYR0gq9pQYhUyj Fk0KSigrR1s0DGBgVN
7,5W3BffgsjYmX6RHP 4MTPC YmvbIP cIjmg 2

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham