FAQ: Security with Keycloak
How to resolve “PKI not found” error when connecting to Keycloak behind Nginx with a custom PKI?
If you’re using Keycloak behind an Nginx reverse proxy with a custom Public Key Infrastructure (PKI), OpenMetadata may fail to authenticate due to missing trusted certificates. This results in a “PKI not found” or TLS validation error.Resolution
To allow OpenMetadata to trust your custom CA:- Extend the OpenMetadata Docker image and import your custom CA certificate into the Java truststore.
- Use the following command (replace paths accordingly):
- Alternatively, if you’re using Helm, you can update your deployment by modifying the container image or using an initContainer to patch the truststore and setting: