摘要: @Bean public RestTemplate restTemplate() throws Exception { // 创建一个信任所有证书的 TrustManager TrustStrategy acceptAll = (x509Certificates, s) -> true; SSLCo 阅读全文
posted @ 2025-03-04 16:15 骑白马走三关 阅读(65) 评论(0) 推荐(0)
摘要: @Bean public Client feignClient() throws Exception { SSLContext sslContext = SSLContext.getInstance("TLS"); X509TrustManager tm = new TrustAllManager( 阅读全文
posted @ 2025-03-04 16:13 骑白马走三关 阅读(46) 评论(0) 推荐(0)
摘要: <!--maven自定义打包插件--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.5.0</version> <conf 阅读全文
posted @ 2025-03-04 16:12 骑白马走三关 阅读(38) 评论(0) 推荐(0)