LDAPS fails on upgrade to 5.1.1

Cannot authenticate to LDAP server via SSL since upgrade to 5.1.1.

Test basic connection : Failed

vanpdc02.impacservices.com:636; nested exception is javax.naming.CommunicationException: vanpdc02.impacservices.com:636 Root exception is java.lang.ClassNotFoundException: com.atlassian.crowd.directory.ssl.LdapHostnameVerificationSSLSocketFactory

Also, in the logs -

Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching impacservices.com found.

at sun.security.util.HostnameChecker.matchDNS(Unknown Source)

at sun.security.util.HostnameChecker.match(Unknown Source)

at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkIdentity(Unknown Source)

at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)

2 answers

Hi Rick,

I susepct that you are facing the bug described here: https://jira.atlassian.com/browse/JRA-27347

If that is the case then it is just the test that fails, but the LDAPS connection and the synchronisation are actually successful. Therefore I would suggest you start by checking whether the connection and synchronisation are working correctly, rather than just following the error message, and if they aren't then I would suggest that you open a support ticket so that we can investigate the cause of this issue.

All the best,
John

Hi Rick,

If it's not only the test connection that is failing, in case the directory synchronization is also not working, It can be also related to the issue described in this KB article.

Cheers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

239 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you