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

fix: 【微信支付】初始化V3客户端:修复p12证书从closed inputstream加载失败的问题 #3392

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

LeungHL
Copy link

@LeungHL LeungHL commented Oct 25, 2024

【微信支付】删除了一个通过 try-with-resources从P12证书获取inputstream的方法,该方法返回的流已经closed,导致p12证书无法被读取。改成直接通过try-with-resources读取,另外读取P12的时候没有赋值给对应的certSerialNo,总共两个地方

@binarywang binarywang added this to the 4.6.6 milestone Oct 27, 2024
} catch (Exception ignored) {

} catch (Exception e) {
e.printStackTrace();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方请使用log打印,谢谢

@binarywang binarywang merged commit c483d6f into binarywang:develop Oct 31, 2024
@binarywang
Copy link
Owner

感谢贡献代码,楼主请关注下置顶区的issue,如果有兴趣如开发组的话请联系我

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

Successfully merging this pull request may close these issues.

2 participants