SSLException: HelloRequest followed by an unexpected handshake message

前端 未结 4 1554
慢半拍i
慢半拍i 2021-02-14 03:18

I\'m trying to connect to a webservice over SSL using Apache Commons HttpClient 3.1, using this:

String url = \"https://archprod.service.eogs.dk/cvronline/esb/Le         


        
4条回答
  •  梦毁少年i
    2021-02-14 03:45

    At least the solution works for this issue, too: add "-Dsun.security.ssl.allowUnsafeRenegotiation=true"

    Thank you very very very much for that! I was trying to use maven deploy through an SSL connection, using certificates and I had the same exception. Now it is solved. Thanks again!

提交回复
热议问题