Skip to main content Skip to complementary content

Elasticsearch access control

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

  1. Go to the Remote Engine Gen2 installation directory.
  2. Open the default/docker-compose.yml file to edit it.
  3. Find the following parameter in the service named livy and make sure its value is set to false.
    livy:
    	...
    	environment:
    		...
    		CONNECTORS_ENABLE_NON_SECURED_ACCESS: "false"

    It will prevent the Elasticsearch connector from accepting http:// protocol which is unencrypted.

  4. In the same file, look for the same parameters in the services named previewrunner and component-server and change their values to false as well.
  5. Save your changes and close the file.
  6. Restart the engine to take these changes into account.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!