使用CertificateDownloader工具命令行执行,报错如下
download failed,resp code=404,body={"code":"RESOURCE_NOT_EXISTS","message":"证书不存在"}
java.io.IOException: request failed
at com.elias.CertificateDownloader.downloadCertificate(CertificateDownloader.java:104)
at com.elias.CertificateDownloader.run(CertificateDownloader.java:65)
at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:2172)
at picocli.CommandLine.parseWithHandlers(CommandLine.java:2559)
at picocli.CommandLine.run(CommandLine.java:3017)
at picocli.CommandLine.run(CommandLine.java:2954)
at com.elias.CertificateDownloader.main(CertificateDownloader.java:153)
紧急求助!折腾2天了。命令行参数都是商户号后台获取的,参数应该不会错
你好, 请问这个问题你解决了吗
新商户号不再签发平台证书,需要使用公钥模式进行敏感信息加密和验证签名,无需调用下载证书接口,可以参考一下https://developers.weixin.qq.com/community/pay/article/doc/000ca894a20c983cad52242286b813