debug:加密套件更换

This commit is contained in:
墨大叔 2024-09-12 09:22:29 +08:00
parent 501e83c15e
commit 7f9727c246
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public class SSLUtil implements X509TrustManager {
synchronized public static SSLUtil getInstance() throws NoSuchAlgorithmException, KeyManagementException { synchronized public static SSLUtil getInstance() throws NoSuchAlgorithmException, KeyManagementException {
if (_instance == null){ if (_instance == null){
_instance = new SSLUtil(); _instance = new SSLUtil();
SSLContext sc = SSLContext.getInstance("SSLv3"); SSLContext sc = SSLContext.getInstance("TLSv1.2");
sc.init(null, new TrustManager[]{new SSLUtil()}, null); sc.init(null, new TrustManager[]{new SSLUtil()}, null);
_instance.sslFactory = sc.getSocketFactory(); _instance.sslFactory = sc.getSocketFactory();
} }

View File

@ -26,7 +26,7 @@ wx:
# 转账回调地址 # 转账回调地址
transferNotifyUrl: https://kg-dev.chuangtewl.com/dev-api/app/pay/notify/wx/transfer transferNotifyUrl: https://kg-dev.chuangtewl.com/dev-api/app/pay/notify/wx/transfer
# 密钥所在位置 # 密钥所在位置
privateKeyPath: H:/project/创特/证书/wxpay-kg/apiclient_key.pem privateKeyPath: D:/project/证书/wxpay-kg/apiclient_key.pem
# 证书序列号 # 证书序列号
merchantSerialNumber: 6AD69237C0F22A9AE51A64F1927E3A0962AC1FB0 merchantSerialNumber: 6AD69237C0F22A9AE51A64F1927E3A0962AC1FB0

View File

@ -3,7 +3,7 @@ spring:
profiles: profiles:
active: active:
- dev - dev
- druid-prod - druid-test
# 资源信息 # 资源信息
messages: messages:
# 国际化资源文件路径 # 国际化资源文件路径