Connecting Confluence with AD using SSL

Dominik Žarković December 14, 2018

Hi, 

We are trying to connect Confluence server with Microsoft AD using SSL. But we keep getting this error message. 

nested exception is javax.naming.CommunicationException

Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching 

How can i fix this ? 

1 answer

0 votes
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2018

Dear @Dominik Žarković,

most probably your SSL certificate is not trusted by the JVM. To fix this you can do following:

  • create a new keystore including the public part of the cert of AD (with Oracles keytool) and add the following to the start scripts of Confluence
    • -Djavax.net.ssl.trustStore=/path/to/keystore
  • or add the certificate to the JVM keystore located at (with the keytool)
    • java/jre/lib/security/cacerts

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events