Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] plugins.security.allow_unsafe_democertificates setting is not working as expected #4599

Closed
DarshitChanpura opened this issue Jul 25, 2024 · 0 comments · Fixed by #4600
Assignees
Labels
bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized

Comments

@DarshitChanpura
Copy link
Member

What is the bug?
When plugins.security.allow_unsafe_democertificates is set to false, the cluster should not boot, but it does.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Download latest opensearch distribution.
  2. Navigate to opensearch-2.16.0/plugins/opensearch-security/tools folder.
  3. Run ./install-demo-configuration.sh -y -i -s
  4. Navigate to opensearch-2.16.0/config folder.
  5. Modify opensearch.yml by setting plugins.security.allow_unsafe_democertificates to false.
  6. Navigate to opensearch-2.16.0 folder.
  7. Run ./bin/opensearch
  8. Cluster should successfully bootup

What is the expected behavior?
Cluster not boot up. It should fail with: java.lang.RuntimeException: Demo certificates found

@DarshitChanpura DarshitChanpura added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Jul 25, 2024
@DarshitChanpura DarshitChanpura self-assigned this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant