「 SPRINGBOOT篇 」 十月 19, 2020
SpringBoot RestTemplate 支持发送 HTTPS 请求
文章字数 5.8k 阅读约需 5 mins.
有时在项目中调用的接口是 https 的形式, 这时使用 RestTemplate 来调用请求就会出错:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification...
查看全文