Received fatal alert: handshake_failure through SSLHandshakeException

前端 未结 19 2174
暖寄归人
暖寄归人 2020-11-22 01:33

I have a problem with authorized SSL connection. I have created Struts Action that connects to external server with Client Authorized SSL certificate. In my Action I am tryi

19条回答
  •  甜味超标
    2020-11-22 02:13

    In my case I had one issue with the version 1.1. I was reproducing the issue easily with curl. The server didn't support lower versions than TLS1.2.

    This received handshake issue:

    curl --insecure --tlsv1.1 -i https://youhost --noproxy "*"
    

    With version 1.2 it was working fine:

    curl --insecure --tlsv1.2 -i https://youhost --noproxy "*"
    

    The server was running a Weblogic, and adding this argument in setEnvDomain.sh made it to work with TLSv1.1:

    -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.1
    

提交回复
热议问题