Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Auth with Synology Directory Server (Active Directory)

jgarrison November 20, 2019

Im using the Confluence Evaluation installed on MacOS 10.13.6.

Our Active Directory is hosted on our Synology Box using Synology Directory Server (samba). 

Im struggling to get LDAP auth set up. I keep getting

Connection test failed. Response from the server:
auth.companydomain.com:636; nested exception is javax.naming.CommunicationException: auth.companydomain.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching auth.companydomain.com found]

I'm assuming that this has something to do with the certificate Synology is using for active directory by default.

I unchecked Advanced Settings -> Use Secure SSL and that changed my error message to:

Connection test failed. Response from the server:
auth.companydomain.com:636; nested exception is javax.naming.CommunicationException: auth.companydomain.com:636 [Root exception is 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 target]

I've successfully set up LDAP integration with other software (eg: moodle).

I tried following the steps here:
https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html?_ga=2.267991946.521402259.1574196240-1350555410.1548796221#HowtoimportapublicSSLcertificateintoaJVM-commandline

but can't seem to get the paths right.

Any direction would be helpful! 

2 answers

0 votes
Monique Khairuliana[ServiceRocket]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 24, 2020

Hi @jgarrison ,

If you uncheck the SSL option, then you can just use LDAP port 389 I think.

As for the PKIX error message when using SSL, try going through this post: 

All the best,

Monique

0 votes
Frank Knoepfler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2020

Hi  jgarison,
I've the same issues here.
did you found a solution for your problem?

 

Thanks

Frank

jgarrison February 7, 2020

No, I did not. It does seem to be on synology's end. I had issue trying to do the same with another program. It seems synology does not pass on the full certificate chain.

Hopefully this is addressed in the upcoming DSM 7.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events