Elastic SSL turn on

[root@ip-172-31-**** bin]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost6 localhost6.localdomain6
[root@ip-172-31-**** bin]# cd /home/ec2-user/elasticKey
[root@ip-172-31-11-193 elasticKey]# vi instance.yml


instances:
  - name: 'node1'
    dns: [ 'localhost' ]
  - name: 'my-kibana'
    dns: [ 'localhost' ]
  - name: 'logstash'
    dns: [ 'localhost' ]
    
    
Save file

run command:
/usr/share/elasticsearch/bin/elasticsearch-certutil cert --keep-ca-key --pem --in /home/ec2-user/elasticKey/instance.yml --out /home/ec2-user/elasticKey/certs.zip

SET up KIBANA

Last updated

Was this helpful?