Securing elastic using elastic ansible playbook

Hello

I am new to elastic, and trying to use ansible playbook to install set it up
I was able to setup a test cluster without any issue, and now I want to secure using X-Pack security SSL/TLS setup as identified ansible-elasticsearch/ssl-tls-setup.md at main · elastic/ansible-elasticsearch · GitHub

So I updated roles/ansible-elasticseach/defaults/main.yml and updated
es_ssl_keystore=es_ssl_truststore=files/certs/mykey.p12
es_ssl_truststore_password=es_ssl_keystore_password=
my p12 has key and cert signed by my CA.
i set
es_enable_auto_ssl_confoguration to false
es_enable_http_ssl true
es_enable_transport_ssl true
Then i added my mykey.p12 file to
roles/ansible-Elasticsearch/files/certs/mykey.p12
files/certs/mykey.p12

however when I run update-es.sh to run Elasticsearch.yml playbook, everything works but i don't see the necessary configuration in Elasticsearch.yml on the node.

What I am missing?

Thanks

-S

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.