1.背景
参考:【Spring】Spring Boot 支持 Https
在这个里面我写了一个客户端,客户端是http方式创建的,没有安全的,然后尝试调用安全的报错
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
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.sec