omnipay-unionpay icon indicating copy to clipboard operation
omnipay-unionpay copied to clipboard

setCertDir 为什么是目录 能增加一个 直接设定文件路径的函数吗这样很不方便

Open bigrocs opened this issue 8 years ago • 2 comments

bigrocs avatar Sep 29 '17 03:09 bigrocs

@bigrocs setCertPath有这个方法,应该是你想要的,如果不是,请回复告诉我。

dacheng-gao avatar Oct 17 '17 03:10 dacheng-gao

@bigrocs @gdc5percent

有同感,而且只能设置为文件,不太方便。刚推出了一个版本做出了改进。

  1. 不需要.pfx文件,将原来的.pfx和.cer文件转化为私钥和公钥以及证书ID
  2. 不需要设置certDir,只需设置公钥的路径或内容
  3. 不需要证书密码

具体可以参照最新的 README.md

lokielse avatar Oct 17 '17 10:10 lokielse