Repository navigation
Dynamic Truststore for external TLS #13225
anuragensemble
started this conversation in
Archive
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
As part of Keycloak 18.0.2 quarkus distribution, the supported method for configuring a truststore for external TLS as provided here is as follows:
bin/kc.[sh|bat] start --spi-truststore-file-file=myTrustStore.jks --spi-truststore-file-password=password --spi-truststore-file-hostname-verification-policy=ANYI am working on a use case where all the external certs are not known beforehand. An example could be adding LDAP user federation via ldaps on a running Keycloak instance.
Is there a a runtime configuration possible of such external certificates (maybe as part of LDAP entity configuration) ?
Alternatively, can we extend the
TruststoreProviderinterface to support a "PostgresTruststoreProvider" similar to the existing "FileTruststoreProvider" ? (Each getTrustStore invocation would read and load the certs persisted in the Postgres DB.)Would appreciate any suggestions to address this problem.
Thank You.
All reactions