为了账号安全,请及时绑定邮箱和手机立即绑定

Java 使用 SSL 握手失败连接到 SOAP Web 服务

Java 使用 SSL 握手失败连接到 SOAP Web 服务

蝴蝶不菲 2021-06-18 02:07:55
谁能告诉我,这个 ssl 握手的问题是什么?我无法解释此消息以了解出了什么问题。我使用 Java 1.8u171 和自定义密钥和信任库。由于 ssl 调试跟踪太大而无法在此处发布,因此我仅添加了它的结尾。让我知道是否需要添加更多行。*** ECDH ServerKeyExchangeSignature Algorithm SHA512withRSAServer key: Sun EC public key, 256 bits  public x coord: 22370889587224987359608899225847605413175776292485254209693360141628593926267  public y coord: 46421316867312726832394508124945403534455242739986432133408176290773445555000  parameters: secp256r1 [NIST P-256, X9.62 prime256v1] (1.2.840.10045.3.1.7)main, READ: TLSv1.2 Handshake, length = 1296*** CertificateRequestCert Types: RSA, DSS, ECDSASupported Signature Algorithms: SHA512withRSA, Unknown (hash:0x6, signature:0x2), SHA512withECDSA, SHA384withRSA, Unknown (hash:0x5, signature:0x2), SHA384withECDSA, SHA256withRSA, SHA256withDSA, SHA256withECDSA, Unknown (hash:0x3, signature:0x1), Unknown (hash:0x3, signature:0x2), Unknown (hash:0x3, signature:0x3), SHA1withRSA, SHA1withDSA, SHA1withECDSACert Authorities:<CN=Admin-Root-CA, OU=Certification Authorities, OU=Services, O=admin, C=ch><CN=SwissDefence-CA1, OU=Certification Authorities, OU=Verteidigung, O=Admin, C=CH><CN=SwissDefence-RootCA, OU=Certification Authorities, OU=Verteidigung, O=Admin, C=CH><CN=Swiss Government Regular CA 01, OU=Certification Authorities, OU=Services, O=Admin, C=CH><CN=Swiss Government Enhanced CA 01, OU=Certification Authorities, OU=Services, O=Admin, C=CH><CN=Swiss Government Enhanced CA 02, OU=Certification Authorities, OU=Services, O=Admin, C=CH><CN=Swiss Government SSL CA 01, OU=Certification Authorities, OU=Services, O=Swiss Government PKI, C=CH><CN=Swiss Government Root CA I, OU=Certification Authorities, OU=Services, O=The Federal Authorities of the Swiss Confederation, C=CH><CN=Swiss Government Root CA II, OU=Certification Authorities, OU=Services, O=The Federal Authorities of the Swiss Confederation, C=CH>*** ServerHelloDoneWarning: no suitable certificate found - continuing without client authentication*** Certificate chain<Empty>
查看完整描述

1 回答

?
幕布斯6054654

TA贡献1876条经验 获得超7个赞

“警告:未找到合适的证书 - 无需客户端身份验证继续” - 您的证书与目标主机不匹配,请检查证书。


查看完整回答
反对 回复 2021-06-23
  • 1 回答
  • 0 关注
  • 187 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信