Operating System - HP-UX
1823057 Members
3129 Online
109645 Solutions
New Discussion

Java LDAP over SSL problem

 
Simon Brown_3
Occasional Contributor

Java LDAP over SSL problem

We are writing some Java code to perform authentication against our LDAP server, over an SSL link. The code is very simple, just performs a bind and returns success or failure.

The problem we're having is that on HP-UX 11.00(JDK 1.4.1.01) the code throws an exception:

javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: CA certificate does not include basic constraints extension

This code runs without error (has been tested) on a 1.4.0 and 1.4.1 VM, under Windows 2000.

What could be causing this? The fact that it runs fine on other machines leads me to suspect that it must be something to do with the HP machine, hence my posting this query here.

Thanks.
1 REPLY 1
Paddy_1
Valued Contributor

Re: Java LDAP over SSL problem

is there some jar file called jsse.jar in your JAVA_HOME/jre/lib/ext directory.

If so then its clasing with your application.temporarily remove it and see if the error occurs
The sufficiency of my merit is to know that my merit is NOT sufficient