Not able to connect to server through java code. Getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

后端 未结 4 1099
暗喜
暗喜 2021-01-05 00:43

I am trying to build a Test Automation Tool for REST API on AWS using rest-assured framework. I just tried with a simple HTTP POST and checking the output J

4条回答
  •  自闭症患者
    2021-01-05 01:01

    Two possible explanations:

    • Your local java security not able to trust the target. Import target public cert as trusted entry.

    • SSL version of target could be different from default outboud SSL version your JVM is choosing.

提交回复
热议问题