首先如果可以升级jdk那么就只用升级jdk到1.8或以上版本 默认支持TLS1.2
如果不方便升级使用一下方法:
1,You could just add the following property -Dhttps.protocols=TLSv1.1,TLSv1.2
which configures the JVM to specify which TLS protocol version should be used during https connections.
参考点击打开链接
2,参考 点击打开链接