解决使用RestTemplate时 PKIX:unable to find valid certification path to requested target
解决使用RestTemplate时 PKIX:unable to find valid certification path to requested target@SpringBootApplicationpublic class BeanConfig { @Bean public RestTemplate myRestTemplate() { return new RestTemplate(simpleClientHttpRequestFactory());
原创
2021-09-12 15:15:04 ·
939 阅读 ·
0 评论