关于企业微信javax.net.ssl.SSLHandshakeException:解决方案

1.表现症状为页面不显示,白屏幕


javax.net.ssl.SSLHandshakeException: 

com.ibm.jsse2.util.g: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: 

java.security.cert.CertPathValidatorException: The certificate issued by CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE is not trusted; internal cause is: 

java.security.cert.CertPathValidatorException: Certificate chaining error


以上错误是was 证书校验过期了。。

实现方法多种多样。可以参考网上伪造证书完成校验。

我采取的方法 也源自网上,不过修改其部分细节


以was7.0 为例

1.访问websphere 管理控制台

2.选择ssl证书和密钥管理

3。选择密钥库和证书

相关项
4.点击NodeDefaultTrustStore

NodeDefaultTrustStore

5.点击右侧签署者证书

其他属性

6 点击按钮 从端口检索

7.输入一下,然后点击检索签署者信息

主机:qyapi.weixin.qq.com

端口:443

别名:wexin_cert





8.点击应用和保存

重启项目 即可

猜你喜欢

转载自blog.csdn.net/qq_18730505/article/details/79420626