Forum Discussion
Bhargav_9588
Nimbostratus
Oct 24, 2008handshake_failure
Hello,
After upgrading LTM to 9.3.1 we started noticing "handshake_failure" errors with java clients that are trying to connect to https://www.***.com/ (virtual server in LTM with Client SSL Profile and Client Certificate set to "request").
It use to work with out any issues before upgrade with same settings. After upgrade, when java client tries to connect to same webservice with https getting following error:
main, WRITE: TLSv1 Handshake, length = 32
main, received EOFException: error
main, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
main, SEND TLSv1 ALERT: fatal, description = handshake_failure
main, WRITE: TLSv1 Alert, length = 18
main, called closeSocket()
Exception :javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Authorization: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:801)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1116)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1100)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:857)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
at gateway.login(gateway.java:64)
at createCollection.main(createCollection.java:31)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:782)
Any help is appreciated and thanks in advance.
--Thanks
7 Replies
- hoolio
Cirrostratus
It looks like an SSL handshake error, but the client program isn't giving details on the actual SSL error. It could be a cipher issue. Can you use openssl s_client to test? That should give you more debug information. Else, you could use ssldump on the BIG-IP to capture a trace of the problem. - Bhargav_9588
Nimbostratus
Thanks Aaron! - Bhargav_9588
Nimbostratus
Just for information....Our CA is not a public CA and we use Windows Certificate Services - hoolio
Cirrostratus
Hi bhargav, - Bhargav_9588
Nimbostratus
We use SSL Client authentication and certificate is being stored in an http header using the following iRule: - Bhargav_9588
Nimbostratus
Here is the decrypted string with ssldump: - Steve_Scott_873Historic F5 AccountCould i suggest wireshark as an easier to use alternative to SSLDump.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects