Receiving SSLHandshakeException: handshake_failure despite my client ignoring all certs

后端 未结 7 1380
北荒
北荒 2020-12-05 03:01

I have a Java program that connects to a webserver using SSL/TLS, and sends various HTTP requests over that connection. The server is localhost and is using a self-signed ce

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-05 03:34

    The info you provide is very little as well as your stack trace.
    I'll take a guess here.
    What I suspect is that in the new server the protocol is TLSv1 while your clients try to connect with SSLv3 (or less) and as a result the handshake fails.

    Change you clients to use higher version of TLS or
    Make your webserver support SSLv3 as well. I know how to do this in Tomcat but not in JBoss.

    If this doesn't work update the post with more info (and a full stack trace).
    You should enable ssl debug info -Djavax.net.debug=ssl

提交回复
热议问题