cancel
Showing results for 
Search instead for 
Did you mean: 

3.2r2 CE openLDAP + self-signed cert

jegans
Champ in-the-making
Champ in-the-making
Hi all,

I have recently started playing around with alfresco and I am currently running into an issue, hopefully someone can help.

Issue: I have a standard bundle install of 3.2r2 Community Edition which has been configured to authenticate against openLDAP. I have tested that the authentication is working and that the users and groups are getting synced into alfresco.  In the initial test I had an open connection with authentication mechanism set to simple, but when I change over to SSL with a self-signed certificate Alfresco is dying on server startup. 

the root exception I am seeing:


Caused by: javax.naming.CommunicationException: simple bind failed: 192.168.2.8: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 have verified the SSL connection to openLDAP is working using Apache Directory Studio, and I am pretty sure it's related to being a self-signed cert.

your help would be much appreciated.

Thanks

Jegan
1 REPLY 1

jegans
Champ in-the-making
Champ in-the-making
Problem solved.

My problem was I had installed the self-signed cert into the wrong keystore, the alfresco bundle that I installed came with it's own JDK and didn't use JDK that as already on my alfresco system.

Thanks

Jegan