You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the security plugin, the following error is shown in the logs:
{"type":"log","@timestamp":"2024-10-22T02:10:49Z","tags":["fatal","root"],"pid":8,"message":"InvalidConfigurationError: Unknown configuration key(s): \"opensearch_security.cookie.secure\". Check for spelling errors and ensure that expected plugins are installed.\n at ensureValidConfiguration (/var/vcap/data/packages/opensearch-dashboards/caa6e98035eac8fd70825811ba3a41f635aec962/src/core/server/legacy/config/ensure_valid_configuration.js:50:11)\n at Server.setup (/var/vcap/data/packages/opensearch-dashboards/caa6e98035eac8fd70825811ba3a41f635aec962/src/core/server/server.js:156:5)\n at Root.setup (/var/vcap/data/packages/opensearch-dashboards/caa6e98035eac8fd70825811ba3a41f635aec962/src/core/server/root/index.js:60:14)\n at bootstrap (/var/vcap/data/packages/opensearch-dashboards/caa6e98035eac8fd70825811ba3a41f635aec962/src/core/server/bootstrap.js:113:5)\n at Command.<anonymous> (/var/vcap/data/packages/opensearch-dashboards/caa6e98035eac8fd70825811ba3a41f635aec962/src/cli/serve/serve.js:192:5) {\n code: 'InvalidConfig',\n processExitCode: 64,\n cause: undefined\n}"}
To Reproduce
Steps to reproduce the behavior:
Set the configuration on opensearch_dashboards.yml (here is a snippet of the config file for context):
# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.
# These settings enable SSL for outgoing requests from the OpenSearch Dashboards server to the browser.
server.ssl.enabled: true
server.ssl.certificate: ***REDACTED***
server.ssl.key: ***REDACTED***
# Optional settings that provide the paths to the PEM-format SSL certificate and key files.
# These files are used to verify the identity of OpenSearch Dashboards to OpenSearch
opensearch.ssl.certificate: ***REDACTED***
opensearch.ssl.key: ***REDACTED***
# Optional setting that enables you to specify a path to the PEM file for the certificate
# authority for your OpenSearch instance.
opensearch.ssl.certificateAuthorities: ["***REDACTED***"]
# To disregard the validity of SSL certificates, change this setting's value to 'none'.
opensearch.ssl.verificationMode: full
opensearch_security.cookie.secure: true
Describe the bug
When using the security plugin, the following error is shown in the logs:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This configuration option should be valid, as stated in the documentation: https://opensearch.org/docs/latest/install-and-configure/install-dashboards/tls/
OpenSearch Version
2.16
Dashboards Version
2.16
Plugins
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: