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] OIDC pemtrustedcas_filepath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem has no effect #931

Open
paulmossman opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working untriaged Issues that have not yet been triaged

Comments

@paulmossman
Copy link

What is the bug?

When I configure pemtrustedcas_filepath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem in the config.yml section of the securityconfig file Secret then OIDC SSO fails. i.e. After successfully logging in and being redirected back to OpenSearch, Dashboards displays 401 Unauthorized.

According to the documentation the full file path can be used. It does not have to be relative to the config directory.

If I configure pemtrustedcas_content with the contents of /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem then OIDC SSO works.

How can one reproduce the bug?

Configure OIDC SSO using pemtrustedcas_filepath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem, neither pemtrustedcas_filepath with a relative file path nor pemtrustedcas_content.

What is the expected behavior?

OIDC SSO login should be successful.

What is your host/environment?

OpenSearch: v2.18.0
OpenSearch operator: v2.7.0
Kubernetes: v1.31.4+k3s1

Do you have any screenshots?

401

Do you have any additional context?

See also: https://forum.opensearch.org/t/oidc-pemtrustedcas-filepath-etc-pki-ca-trust-extracted-pem-tls-ca-bundle-pem-has-no-effect/22558

@paulmossman paulmossman added bug Something isn't working untriaged Issues that have not yet been triaged labels Jan 8, 2025
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 Issues that have not yet been triaged
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant