patrek / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target #351

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I have a public certificate (Terena) on my server with the Microsoft LDAP cn 
= "pwm.00dc02.uab.pt"

2.Configured in PWM configuration editor -> LDAP Directory URL "ldaps 
://pwm.00dc02.uab.pt: 636 ".

3.PWM is running on a Centos6.2. Despite being a public certificate I already 
tried to import it into the Java through toolkey and the error is the same.

What is the expected output? What do you see instead?
If "LDAP SSL Promiscuous" is the true everything works correctly, but if false 
arises the following error "error connecting to ldap directory: unable to 
create connection: unable to connect to any configured ldap url, last error: 
unable to bind to ldaps :/ / pwm.00dc02.uab.pt: 636 pwmsystem the cn =, ou = 
systems, ou = users, dc = univ-ab, dc = local reason: CommunicationException 
(simple bind failed: pwm.00dc02.uab . pt: 636; 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target)”

What version of PWM are you using?
PWM v1.6.4

What ldap directory and version are you using?
Microsoft Active Directory. Server 2008

Please paste any error log messages below:

If "LDAP SSL Promiscuous" is the true everything works correctly, but if false 
arises the following error "error connecting to ldap directory: unable to 
create connection: unable to connect to any configured ldap url, last error: 
unable to bind to ldaps :/ / pwm.00dc02.uab.pt: 636 pwmsystem the cn =, ou = 
systems, ou = users, dc = univ-ab, dc = local reason: CommunicationException 
(simple bind failed: pwm.00dc02.uab . pt: 636; 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target)”

Original issue reported on code.google.com by uaberta...@gmail.com on 2 Apr 2013 at 2:00

GoogleCodeExporter commented 9 years ago

Original comment by jrivard on 2 Apr 2013 at 3:45