当前位置: 代码迷 >> 综合 >> PHP接第三方支付中的pfx文件
  详细解决方案

PHP接第三方支付中的pfx文件

热度:13   发布时间:2023-10-29 14:54:56.0

openssl_pkcs12_read(file_get_contents("xxx.pfx"), $cert, "123456");

其中123456是密码,需按照实际填写,$cert为读取结果

结果中的private部分是私钥

  相关解决方案