mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-12 08:31:12 +08:00
帮助文档,新增证书设置方式教程
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
//退款使用
|
||||
/* 网络请求ssl证书 根据需求进行设置**/
|
||||
//设置ssl证书路径
|
||||
//TODO 这里也支持输入流的入参。
|
||||
// httpConfigStorage.setKeystore(this.getClass()..getResourceAsStream("/证书文件"));
|
||||
httpConfigStorage.setKeystorePath("证书绝对路径");
|
||||
//设置ssl证书对应的密码
|
||||
httpConfigStorage.setStorePassword("证书对应的密码");
|
||||
|
||||
Reference in New Issue
Block a user