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

Have a look at Web Portocols and Ports used by Elasticsearch