Can't connect with elasticsearch because of https or SSL security

Hey,
I have some problems when i want to connect elasticsearch port,
for example i can't connect python to elasticsearch because of ssl, the https, the same for kafka confluent,
I've already use some technique like add some properties in yml file:

xpack.security.authc:
  anonymous:
    username: anonymous_user 
    roles: role1, role2 
    authz_exception: true

but nothing happen!
so what should i do to use/connect elasticsearch port https://localhost:9200/ in another platform
thanks

It'd be good to understand if you got an error or any kind of response from Elasticsearch when using HTTPS.

What is the definition of role1 and role2?

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