实测时间:2026-11-03(北京时间)。测试目标:
https://id.vk.com/。服务端证书、跳转地址及网络环境会变化,以下结果反映本次现场,不代表之后所有请求的结果。
一、问题发现与影响
Spring Boot 2 应用使用 RestTemplate 调用第三方 HTTPS 接口时,可能出现以下异常:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
2026/11/3大约 17 分钟
