File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes SSL Error while connecting to https Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "SSL Error while connecting to https" Watch "SSL Error while connecting to https" New topic
Author

SSL Error while connecting to https

Raja Mirrah
Greenhorn

Joined: Jun 23, 2009
Posts: 26
Hi Forum Readers,

I am getting an SSL Exception when i try to connect to HTTPS.

Recently our application migrated to weblogic 92 from weblogic 81. In weblogic 81 the https connection worked fine. But in weblogic 92 i am getting the following exception.



javax.net.ssl.SSLKeyException: [Security:090477]Certificate chain received from tst10-ipdweb.oss.att.com - 135.16.154.161 was not trusted causing SSL handshake failure.
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.handle(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.io.OutputSSLIOStreamWrapper.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:152)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:356)
at TaiHttpConn.connect(TaiHttpConn.java:448)
at TaiHttpConn.run(TaiHttpConn.java:46)



Can anyone tell me what could be the reason?

Your early response is highly appreciated.


Warm Regards,

Raj.


Warm Regards,
Raj
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: SSL Error while connecting to https
 
Similar Threads
Urgent! (Very IMP) Implementing client on SSL in webservices!!!
SSLHandshakeException
FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from
Google URL Shortner API with weblogic 10.3.4