How to add write privilege to elastic search after enabling https protocol

Hi
I have enabled https using the following parameters on the .yml file:

xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.certificate_authorities: "certs/ca.crt"
xpack.security.http.ssl.keystore.path: "certs/pfxFile.pfx"
xpack.security.http.ssl.keystore.password: "********"

so these have worked properly and I have enabled https but its privilege is a 'read-only' for some reason, anyone who could tell me why this is happening ? and how can I provide write access to the index?
Also when it was http, things were completely fine.
Could someone please help? I am new to all this. Thanks

Have a look at Web Portocols and Ports used by Elasticsearch

Hello
I have created built-in user passwords, problem now is to create a role with write access, none of the roles are working and all of them are unauthorized.
I am also unable to integrate kibana with my elasticsearch,
I have given the following configurations:

server.ssl.enabled:true
server.ssl.keystore.path:certs/pfxFile.pfx
ssserver.ssl.keystore.password:*********

elasticsearch.host:["https://DomainName:9200"]
elasticsearch.username:kibana
elasticsearch.password:
elasticsearch.ssl.certificateAuthorities:[ certs/ca.crt ]

the only response I get on kibana is ->
log [05:49:14.802] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/
log [05:49:14.804] [warning][admin][elasticsearch] No living connections
log [05:49:14.814] [warning][migrations] Unable to connect to Elasticsearch. Error: No Living connections
log [05:49:14.816] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/
log [05:49:14.818] [warning][admin][elasticsearch] No living connections
log [05:49:17.337] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/
log [05:49:17.347] [warning][admin][elasticsearch] No living connections
log [05:49:17.350] [warning][admin][elasticsearch] Unable to revive connection: http://localhost:9200/

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