Problem
If you receive the following error message after updating the Keycloak application it may be, because the default settings have been changed in the latest version of the keycloak=22.0.3-ucs1 application.
Error when trying to connect to LDAP: 'UnknownError'
Hint
These default settings are correct when the Keycloak application is installed at the first time.
Use Truststore SPI = Never
Solution
There are two ways to fix this error.
1.
If you want to use Use Truststore SPI = Always, just switch Enable StartTLS to off.
This works of course with ldaps and port 7636.
2.
It is possible to reconfigure the application so that all settings are corrected to default.
This helps in most cases with other errors, such as sslHandshakeFailed
error.
Log in as root from a terminal on your UCS system where the keycloak application is installed.
univention-app configure keycloak