Problem when installing elk 8.5.1

Hi i am trying to install elk stack 8.5.1 on amazon linux 2 redhat. When i try to start the service getting the following error


I have set xpack.security.enabled: true
discovery-type: single-node
xpack.security.transport.ssl.enabled: false
.
what are the expected configurations? i dont have ssl certificate for this machine

Hello,

Please do not share screenshots of error messages, they are pretty hard to read sometimes and some people may not be even able to read it.

Share the error log as plain text using the </> button in the editor.

sorry for the inconvenience

 fatal exception while booting Elasticsearch
org.elasticsearch.ElasticsearchSecurityException: invalid configuration for xpack.security.transport.ssl - [xpack.security.transport.ssl.enabled] is not set, but the following settings have been configured in elasticsearch.yml : [xpack.security.transport.ssl.keystore.secure_password,xpack.security.transport.ssl.truststore.secure_password]

Can you share your entire elasticsearch.yml?

Also, share the entire Elasticsearch error log, what you shared now is completely different from the error in your image.

The problem was fixed. the old elasticsearch.yml file wasnt getting updated. I am installing elastic stack with authentication using ansible playbook. The same isnt working for 8.5.1. Can you please share how to setup authentication for elk 8.5.1?

For older version my playbook was running fine. But for 8.5.1 if i disable authentication i am prompted for token, which is don't see when i install elasticsearch using playbook

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