Certificate for <api.mch.weixin.qq.com> doesn't match any of the subject alternative names: [mp.weixin.qq.com,
微信退款接口javax.net.ssl.SSLPeerUnverifiedExc执行到 HttpResponse httpResponse = httpClient.execute(httpPost); 报如下错误:javax.net.ssl.SSLPeerUnverifiedException: Certificate for <api.mch.weixin.qq.com> doesn't match any of the subject alternative names: [payapp.weixin.qq.com, api.oz.weixin.qq.com, wx.gtimg.com, log.weixin.qq.com, api.pay.weixin.qq.com, api2.mch.weixin.qq.com, fraudhk.mch.weixin.qq.com, za.pay.wechat.com, fraudus.mch.weixin.qq.com, act.weixin.qq.com, fraud.mch.weixin.qq.com, apihk.mch.weixin.qq.com, mch.weixin.qq.com, api.mch.weixin.qq.com, apius.mch.weixin.qq.com, oz.weixin.qq.com, pay.weops.qq.com, action.weixin.qq.com, apitest.mch.weixin.qq.com, pay.weixin.qq.com] 证书路径: [图片] 代码如下: [图片] 证书没问题,我双击证书,提示输入密码,输入完商户号后,成功。
2021-12-28