Novell is now a part of Micro Focus

I'm having a strange problem trying to get...

Articles and Tips: qna

01 Sep 2002


Q.

I'm having a strange problem trying to get an SSL connection. Every time I am getting a "handshake_failure" just after the ServerHelloDone call. I have tried using the TLSTrustManager class in the samples (making no changes to the source) to get a another local copy of the certificate, but I got the same error. The certificates matched anyway.

I'm using eDirectory 8.6.2, and the 4/22/02 ldap.jar on the client end with JSSE 1.0.3. I've tried running the client on Windows 2000 and AIX, but there's no difference. Do you know of a particular client setting that fixes this?

A.

The problem is probably in your java.security file. In one case, I had left the Novell Provider in it and Security.addProvider() puts the new Provider at the end of its list. There is a name clash when using both Providers. I got my code to work by using the Security.insertProviderAt() method and putting the Sun Provider ahead of the Novell one.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates