Currently we are using LDAP Authentication while logging in to SonarQube. We want to now introduce Secure LDAP.
In Sonar.Properties file, we updated the url to ldaps://server:636. Rest all configuration remains the same.
We also imported Certificate to Java TrustStore. The TrustStore is located at path: JAVA_HOME/lib/security/cacerts
Same trust store path is mentioned in the Sonar.Properties.config as :
However, the site doesn’t work. And the SonarQube Service stops automatically.
Below error gets logged in to sonar.log “Cannot load main class Files.Java.jdk-11.0.3.lib.security.cacerts”
Any idea what is going wrong here ?