File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes SSLHandshakeException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "SSLHandshakeException " Watch "SSLHandshakeException " New topic


Eskil Lind

Joined: Apr 05, 2003
Posts: 11
My environment is WebSphere Application Server (WAS) 5.0.
In my test environment I am not using SSL and there I can use launchClient.bat successfully to connect to websphere (rmi).
In my production-environment we have SSL and Global security enabled in WAS.
We use a certificate from Thawte successfully with HTTP-server and WAS, but when I try to use the same certificate (jks-file) with launchClient.bat I got the following error:
CAUGHT_EXCEPTION_WHILE_CONFIGURING_SSL_CLIENT_SOCKET: JSSL0080E: - The client and server could not negotiate the desired level of security. reason: unknown certificate minor code: 49421070
I have added one parameter in launchClient.bat:"file:/e:/WebSphere/AppServer/properties/sas.client.props"
in this sas.client.props file I have the following directives:\:/WebSphere/AppServer/WASV5ServerKeyFile.jks{xor}...........\:/WebSphere/AppServer/WASV5ServerTrustFile.jks

I point to the same jks-files as I use in my SSL-settings in WAS.
I use SSLv3 and a 128 bit certificate.
Anybody that has done this successfully ?
I welcome any suggestions.
I agree. Here's the link:
subject: SSLHandshakeException
It's not a secret anymore!