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
{{ message }}
Repository navigation
Document PKIX path building failed error in truststore guide - #55786
Added the troubleshooting note to the existing keycloak-truststore.adoc guide rather than a new standalone guide, since the cause and fix already live there.
Cross-referenced the database and outgoing-HTTP guides as the other places this error can surface, without duplicating their content.
Drafted with AI assistance (GitHub Copilot), reviewed and verified by me.
Closeskeycloak#55785.
Identified from the Keycloak community forum topic on this error, ahead of the forum's shutdown.
Decisions and assumptions:
- Added the troubleshooting note to the existing `keycloak-truststore.adoc` guide rather than a new standalone guide, since the cause and fix already live there.
- Cross-referenced the database and outgoing-HTTP guides as the other places this error can surface, without duplicating their content.
Drafted with AI assistance (GitHub Copilot), reviewed and verified by me.
Signed-off-by: Faseela K <faseela.k@est.tech>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The troubleshooting guidance conflates TLS validation with token signatures, overlooks incomplete server certificate chains, and can direct users to update the wrong truststore.
Distinguish a missing intermediate from a missing trusted root
docs/guides/server/keycloak-truststore.adoc:78
The application's truststore is not necessarily missing a certificate: the missing-intermediate case described above produces the same error even when the application already trusts the root CA. Preserve that distinction here so readers fix the served certificate chain rather than unnecessarily modifying every application's truststore.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The guide incorrectly treats a complete chain as proof of an untrusted CA, overlooking certificate validity and algorithm constraints that truststore changes cannot fix.
Clarified the reasons for TLS client certificate chain failures and updated instructions for ensuring the truststore is correctly configured.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Faseela K <k.faseela@gmail.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed because the guide’s direct-TLS probe may mislead users diagnosing certificate chains for services requiring TLS negotiation, such as LDAP StartTLS and PostgreSQL.
The reason will be displayed to describe this comment to others. Learn more.
🟢 Approval recommended
No active review issues are recorded for the truststore troubleshooting documentation change.
No open issues 🎉
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #55785.
Identified from the Keycloak community forum topic on this error, ahead of the forum's shutdown. (Ref: https://forum.keycloak.org/t/pkix-path-building-failed-sun-security-provider-certpath-suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/1593 )
Decisions and assumptions:
keycloak-truststore.adocguide rather than a new standalone guide, since the cause and fix already live there.Drafted with AI assistance (GitHub Copilot), reviewed and verified by me.