Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信支付证书问题 #27

Closed
MagikLau opened this issue Nov 26, 2019 · 0 comments
Closed

微信支付证书问题 #27

MagikLau opened this issue Nov 26, 2019 · 0 comments

Comments

@MagikLau
Copy link

报错

500 运行时异常:java.io.FileNotFoundException: ac.p12 (No such file or directory)

使用接口

http://{domain}/platform/wxPay/transfer?openId=xxxxxx

后端运行环境

Linux->Docker->Tomcat: webapps/platform.war

证书文件

Linux->Docker->Nginx: location /ac.p12{ alias /usr/share/nginx/html/ac.p12 }
可通过http://{domain}/ac.p12访问

后端配置wxpay.properties

wxpay.certPath=ac.p12

证书文件换成/platform/ac.p12,可通过http://{domain}/platform/ac.p12访问,也出现了一样的报错

@MagikLau MagikLau closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant