I'm configuring a single node Elasticsearch & Kibana (7.15.1) set up with FQDN behind Nginx Proxy on a single EC2 instance.
Everything is correctly set up when I tried to turn on Alerts in heartbeat (Observability) it said to set up SSL/TLS communication between Kibana & Elasticsearch. from the articles on Elastic.co I have added the below configuration but having log in Elasticsearch even after turning off kibana.
received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/127.0.0.1:9200, remoteAddress=/127.0.0.1:60414}
These are the configuration added for TLS/SSL set u in Elasticsearch
xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.authc.api_key.enabled: true
xpack.security.authc.api_key.hashing.algorithm: pbkdf2
xpack.security.http.ssl.key: /etc/elasticsearch/ssl/privkey.pem
xpack.security.http.ssl.certificate: /etc/elasticsearch/ssl/fullchain.pem
xpack.security.http.ssl.supported_protocols: [ "TLSv1.2", "TLSv1.1" ]
Please any one help me in this issue.