首页 > 其他分享 >微信支付 Verify the signature and get the Wechatpay certificate corresponding to serialnumber[X] is empt

微信支付 Verify the signature and get the Wechatpay certificate corresponding to serialnumber[X] is empt

时间:2023-10-12 17:14:56浏览次数:36  
标签:certificate 证书 Verify serialnumber 微信 序列号

1.先获取商户证书文件
这块叫商户证书需要和下面的支付证书名字区分

在微信开放平台里面下载商户证书,用apiclient_cert.pem取获取'商户证书的序列号'

证书查看

 

 

2.需要下载一个jar,生成微信证书时候用
Releases · wechatpay-apiv3/CertificateDownloader · GitHub

 

 

3.生成证书证书命令参考

mirrors / wechatpay-apiv3 / CertificateDownloader · GitCode

 

4.执行完命令以后会,指定的路径出现一个'wechatpay_XXX.pem',其中XXX的信息会和之前请求时候
Verify the signature and get the Wechatpay certificate corresponding to serialnumber[XXX] is empty.中对应上

5.重新查看支付证书的序列号,把代码中证书序列号,证书路径重新配置就好使了

标签:certificate,证书,Verify,serialnumber,微信,序列号
From: https://www.cnblogs.com/jyhgarden/p/17759926.html

相关文章

  • tp5 php 阿里OS RequestCoreException: cURL error: SSL certificate problem: certif
    出现这种情况,肯定是域名SSL证书过期。现在出现问题:提交表单出现这种情况,网址不是https的,之前一直也没有问题,一开始想不通网址都不是HTTPS为什么还会有SSL证书的问题,检查了下发现上传中图片是上传到阿里OSS的(https://img.oss.xxx.com),里边就用到了HTTPS域名,原来是这样里,一查发现过......
  • Centos系统安装MySQL数据库时,要以不安全的方式连接至 dev.mysql.com,使用“--no-check-
    解决:要以不安全的方式连接至dev.mysql.com,使用“--no-check-certificate” 问题:[root@192桌面]#wgethttps://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm--2023-10-0812:44:16--https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.......
  • Powershell 获取AD Certificate 详细信息
    get-aduser-SearchBase$ou-Filter*-Propertiesdisplayname,usercertificate|ForEach-Object{$displayname=$_.displayname$_|select-ExpandPropertyusercertificate|ForEach-Object{$cert=[System.Security.Cryptography.X509Certifi......
  • Common Certificate Formats
    为什么会有那么多种类的证书?一般而言,不同后缀的证书代表不同的编码、解码规则。要么是不同功能场景,要么是同一个功能只是不同厂商的不同风格罢了。不一一记录了,用到在查吧。Reference数字证书常见格式整理https://blog.csdn.net/zhulianhai0927/article/details/106452521......
  • ERROR: cannot verify github.com's certificate
    wget获取https资源-simplelovecs-博客园(cnblogs.com)加参数>wget--no-check-certificateyour-download-url......
  • git SSL certificate problem unable to get local issuer certificate
    gitSSLcertificateproblemunabletogetlocalissuercertificate这个问题是由于没有配置信任的服务器HTTPS验证。默认,cURL被设为不信任任何CAs,就是说,它不信任任何服务器验证。只需要执行下面命令就可以解决:gitconfig--globalhttp.sslVerifyfalse......
  • 使用 sudo apt-get update 命令时出现 Certificate verification failed: The certifi
    命令:sudoapt-getupdate问题:Certificateverificationfailed:ThecertificateisNOTtrusted. Tryinstallingca-certificates.忽略:1https://professional-store-packages.chinauos.com/appstoreeagleInRelease错误:3https://professional-store-packages.china......
  • Docker nginx 配置 SSL 证书 cannot load certificate
    错误原因分析:cannotloadcertificate"/etc/nginx/test.com.crt":BIO_new_file()failed(SSL:error:02001002:systemlibrary:fopen:Nosuchfileordirectory:fopen('/etc/nginx/test.com.pem','r')error:2006D080:BIOroutines:BIO_new_file......
  • 执行python脚本报错:case by sslerror(sslcertVerificationerror(1,ssl:vertificate_ve
    【现象】  使用python编写了一个请求,报错ssl证书过期问题【解决办法】   requests.packages.urllib3.disable_warnings()  r=requests.post(service_url,data=payload,headers=self.headers,verify=False)参考链接:https://www.cnblogs.com/sea-stream/p/14......
  • cURL error 60: SSL certificate problem: certificate has expired解决办法
    出现这个原因是因为Let’sEncrypt证书停止了HTTPAPI的请求支持,导致我们使用Let’sEncrypt证书的网站没办法更新证书,就出现了证书过期的提醒,所以我们只需要手动更新下证书就行了。1、下载https://curl.se/ca/cacert.pem 这个文件;2、将cacert.pem里面的内容替换到/wp-includ......