To prevent Elasticsearch from using non-secured access types (such as HTTP
unencrypted protocol), you need to edit a configuration file in your Remote Engine Gen2
installation.
Procedure
Go to the Remote Engine Gen2
installation directory.
Open the default/docker-compose.yml file to edit it.
Find the following parameter in the service named livy and
make sure its value is set to false.