HTTPS problem
Friends,
I am using the JSSE 1.0.2 implementation for sending a HTTPS request. I have installed it as an extension properly.(on Java2, JDK 1.2.2)
I am getting the following exception when trying to do a url.openConnection().
Exception in thread "main" java.net.SocketException: SSL implementation not avai
lable
at javax.net.ssl.DefaultSSLSocketFactory.createSocket([DashoPro-V1.2-120
198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([Da
shoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer(
[DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1
.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoP
ro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([Dasho
Pro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V
1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connec
t([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOut
putStream([DashoPro-V1.2-120198])
at com.sabre.tw.shared.TWClient.postTWRequest(TWClient.java, Compiled Co
de)
at com.sabre.tw.shared.TWClient.main(TWClient.java, Compiled Code)
Can anyone tell me what could be wrong? The J2SE manual gives me the following documentation which is not too clear to me.
Cause : There was a problem with SSLContext initialization, for example due to a
corrupted keystore. (Note: One vendor has shipped a keystore in an unknown format,
and that may cause this type of error.)
Solution : Check initialization parameters. Ensure any keystores specified are valid
(e.g., by trying to use the keytool to examine them).
Thanks for your help.
Ram

