Hi,
I'm trying to figure out how to get a docker instance of Sonarqube to trust the cert issued to the internal ldap server.
Currently, I'm getting:
2017.01.03 20:46:39 DEBUG web[][o.s.p.l.LdapContextFactory] Initializing LDAP context {java.naming.provider.url=ldap at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812) [tomcat-embed-core-8.0.
...
Caused by: javax.naming.NamingException: StartTLS failed
...
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed
: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested t
arget
...
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I tried:
sonar.web.javaAdditionalOpts=-Djavax.net.ssl.keyStore=/opt/sonarqube/conf/corp-256.store
and
sonar.web.https.keystoreFile=/opt/sonarqube/conf/corp-256.store
But neither seems to help.
Is there another way to configure the trusted CA certs that Sonarqube will use?
Thanks!
Ben