我正在尝试使用HttpApiClient连接到WebService客户端。我正在指定
truststore = <path to Java cacerts>
truststore password = <default pass>
keystore = <custom JKS properties with all certs>
keystore password = <default pass>
当我使用Java调试SSL时,我甚至不会直接看到“服务器Hello消息”致命的握手错误,如下所示:
http-bio-8080-exec-9, WRITE: TLSv1 Handshake, length = 122
http-bio-8080-exec-9, READ: TLSv1 Alert, length = 2
http-bio-8080-exec-9
, RECV TLSv1 ALERT:
fatal,
handshake_failure
http-bio-8080-exec-9, called closeSocket()
http-bio-8080-exec-9, handling exception: javax.net.ssl.SSLHandshakeException:
Received fatal alert: handshake_failure
http-bio-8080-exec-9, called close()
http-bio-8080-exec-9, called closeInternal(true)
我无法进一步调试,因为没有关于错误的线索。错误消息没有描述任何内容。我已经仔细检查过所有证书。关于如何调试这个/缺少什么的任何想法?