首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

记一次因证书问题导致请求失败问题SSLHandshakeException

www.cnblogs.com/funnyzpc/p/10989813.html 最近接一外部接口,接口在本地开发调试及测试都无任何问题(windows下),而上测试环境后测第一次就直接报错误, 错误是这样子的: javax.net.ssl.SSLHandshakeException...: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException...oh~,no,依然是这个错: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path...building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification...factory.createSocket(host, port); socket.setSoTimeout(10000); try { System.out.println("Starting SSL handshake

2.1K30
领券