OpenSearch ssl exception (tar)

Good morning. I installed version 1.0.0-rc1 with tar file.

just ran it right away.
However, the following error occurred.

[ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [hostname] uncaught exception in thread [main]
org.opensearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
Caused by: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
Caused by: java.lang.reflect.InvocationTargetException
Caused by: org.opensearch.OpenSearchException: plugins.security.ssl.transport.keystore_filepath or plugins.security.ssl.transport.server.pemcert_filepath and plugins.security.ssl.transport.client.pemcert_filepath must be set if transport ssl is requested.

failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
Likely root cause: OpenSearchException[plugins.security.ssl.transport.keystore_filepath or plugins.security.ssl.transport.server.pemcert_filepath and plugins.security.ssl.transport.client.pemcert_filepath must be set if transport ssl is requested.]

what’s the problem??? Can’t it just run?

1 Like

According to the exception, it seems you have not created the necessary keys as set in this article:

I’ll suggest following all the steps here:

Seems like you can also just disable the plugin by setting plugins.security.disabled to "true" in the environment.

The container will of course still start up logging “Enabling OpenSearch Security Plugin” :roll_eyes: and only later log “OpenSearch Security plugin installed but disabled.”.