更换服务器后,商户号等各相关信息都没有变化,但企业付款到零钱功能返回CA_ERROR

微信支付 文章 2021-03-10 17:01 411 0 全屏看文

AI助手支持GPT4.0

更换服务器后,商户号等各相关信息都没有变化,但企业付款到零钱功能返回CA_ERRORAfter changing the server, the merchant number and other related information have not changed, but the function of enterprise payment to change returns CA_ERROR

更换服务器后,商户号等各相关信息都没有变化,但企业付款到零钱功能返回CA_ERROR

如题。我们更换了一台windows服务器做为公众号服务器。

代码、证书都没有变化。调用企业付款到零钱接口后返回CA_ERROR,错误文字是 提示去微信支付申请证书。

请问这个证书难道和机器相关?但是微信支付在更换服务器后无缝工作。

我如果申请,是否要在服务器上申请新的证书呢?

请大家指点。谢谢。


Such as the title. We replaced a Windows Server as official account server. The code and certificate have not changed. Call enterprise payment to change interface and return to Ca_ Error, the error text is to prompt you to apply for a certificate through wechat payment. Is this certificate related to machines? But wechat payment works seamlessly after changing the server. If I apply, do I need to apply for a new certificate on the server? Please give us some advice. thank you.

回答:

北望沣渭:

谢邀,这个错误提示,是不是c#或者.net程序抛出来的?

企业付款到零钱API接口,是在http请求的时候,在对应的开发语言agent里加载商户证书,商户证书目前应该都是用的itrus或者digitalcert等机构颁发的证书,这个CA_ERROR应该就是你的操作系统windows没有这俩机构的CA证书造成的,建议查看升级一下操作的安全补丁升级提示,应该有证书相关的升级,补一下就应该可以了。

Memory:

使用的调用证书有误,请确认是否使用了正确的证书,可以前往商户平台重新下载,证书需与商户号对应,如果要继续付款必须使用原商户订单号重试

peng:

支付不涉及证书,所以不受影响。

而支付到零钱需要携带证书发起请求,可以看下代码使用的证书路径是否正确,如果是IIS,看下应用程序池有没有开启“加载用户配置文件”

shiying®:谢谢回复。不是IIS。从错误CA_ERROR看,证书是加载了,但内容不对。

-EOF-

AI助手支持GPT4.0