Setting up SSL for Elasticsearch

Hi everyone,

I am setting up an ELK environment using auditbeat. I want so send my logs to my Elasticsearch endpoint and currently it's over http. I want to transfer this to https. I tried generating a certificate with Nginx and the Nginx lets encrypt companion since I am using Nginx already for my Kibana endpoint. Now I created a certificate for elasticsearch.domain.com and let it redirect to the Elasticsearch instance. so when I go to my browser and go to elasticsearch.domain.com I get redirected to port 9200 of the elasticsearch instance, which is good. But when I configure my auditbeat output to elasticsearch.domain.com it errors when connecting to backoff elasticsearch. Because it attempts to connect to https://elasticsearch.domain.com:9200

Has anyone got an idea how to implement SSL here? Can't seem to find how to solve this very annoying problem...

My whole elastic stack is running in docker-compose

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