Jump to content

JasperServer-Login via ldaps


tbar0711

Recommended Posts

Hi,

I'm trying to configure an LDAP Authentication for JasperServer. I'm using JasperServer 3.7 and JBoss 5.1.0 GA. I've got the jasperserver.war within my JBoss-Deploy-Directory.

I already configured the applicationContext-security.xml for LDAP-Authentication. It works fine, if I use ldap://ldap.myhost:389/.
Now I would like to use SSL. So I changed the URL to ldaps://ldap.myhost:636/. My LDAP Server is configured correctly.

My ldap.truststore File is located in the JBoss conf directory. I have tried many things and I'm always getting the same error:

WARN  [LoggerListener] Authentication event AuthenticationFailureServiceExceptionEvent: user0815; details:
org.springframework.security.ui.WebAuthenticationDetails@ef30: RemoteIpAddress: 192.168.27.14; SessionId: 32C32BEABE4531C000201930E385046B; exception:
Unable to connect to LDAP server; nested exception is javax.naming.CommunicationException: simple bind failed: ldap.myhost: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]; nested exception is
org.springframework.ldap.UncategorizedLdapException: Unable to connect to LDAP server; nested exception is javax.naming.CommunicationException: simple
bind failed: ldap.myhost: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]

Is there a possibility to give JasperServer the location of my ldap.truststore file?

I don't know what to do. Perhaps someone can help me?

Thanks in advance.

Tom

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...