E249 Keep custom HTTPS truststore type when a PEM server certificate is configured by gaurav0107 · Pull Request #55501 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Keep custom HTTPS truststore type when a PEM server certificate is configured - #55501

Draft
gaurav0107 wants to merge 1 commit into
keycloak:mainfrom
gaurav0107:fix/55500-pem-server-identity-suppresses-custom
Draft

gaurav0107 wants to merge 1 commit into
keycloak:mainfrom
gaurav0107:fix/55500-pem-server-identity-suppresses-custom

Conversation

@gaurav0107
Copy link
Copy Markdown
Contributor

Closes #55500

Decisions and assumptions:

  • The PEM server certificate precedence check in filterOtherStoreType now only applies to the key store, matching dispatchStoreFile and dispatchStoreProperty, which already gate it on StoreRole.KEY_STORE.
  • filterOtherStoreType takes an explicit StoreRole instead of inferring it, so the HTTPS and management call sites state which store they map.
  • Key store behaviour is unchanged: a PEM server certificate still takes precedence over an OTHER-type key store.

This change was drafted with the help of an AI agent (Claude Code).

…nfigured

The PEM certificate check in filterOtherStoreType is only meant to let a PEM server identity take precedence over a key store. It was also applied to the truststore, so trust-store.other.type was dropped while the path and password were still mapped, failing startup for types such as JCEKS.

Closes keycloak#55500

Signed-off-by: Gaurav Dubey <gauravdubey0107@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PEM server identity suppresses custom HTTPS truststore type in 26.8.2

1 participant

0