Hi Guys,

We have a funny issue with out SSL certs and confluence install. We are seeing the following error message when we are trying to sync via LDAP.

at org.quartz.simpl.SimpleThreadPool$
Caused by: javax.naming.CommunicationException: ldaps.****:636 [Root exception is Received fatal alert: handshake_failure]


The thing is that all our instances broke at the same time. I can confirm we have around 50 other services using the LDAP service fine. (this is provided by out F5 LTM to a domain controller pool)

I can confirm the following

  • \lib\security\cacerts have the valid root CA (fingerprint checked)
  • \lib\security\cacerts have the valid Intermediate (fingerprint checked)
  • All checks within Confluence pass and valid.
  • When a sync is kicked off it will start the process and randomly fail at various stages with the above message.
  • nmap of ciphers on the domain controllers are all the same
  • have tried the but cant get it to supply any results.

 Any ideas would be awesome if you have seen this before.



2 answers

I suggest you download the SSL cert of the ldaps and import that into the keystore of confluence, if not there already.

echo "" | openssl s_client -connect yourLDAPShostname:636 -prexit 2>/dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > ldaps.pem

#Convert from pem to der:

openssl x509 -outform der -in ldaps.pem -out ldaps.der

#import it:

/PATHTOJDKKEYTOOL/keytool -import -alias ldaps -file ldaps.der -keystore /lib/security/cacerts

These commands are all linux-formated as you can see, feel free to Windows-ify them smile

0 votes

Hi Ryan, 


Can you confirm if your Confluence Certificate is loaded on your LDAP and the LDAP certificate is loaded on Confluence? Check the Jonas’  comment. 

Also, can you confirm what JAVA are you using? Keep in mind that JDK and JRE have store certificates in different directories. 

Lastly,  the name of the instances (Confluence and LDAP Server are matching with the certificates?




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,030 views 2 13
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