Enable https on elasticsearchs

I just want to have https for the Elasticsearch...
i have my .pem certification from my company with private key. What i have to do to enable https?

the above configuration in yml is ok?

xpack.security.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.certificate: ...path with .pem

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