以前使用的windows平台作为php运行的平台,感觉整体速度太慢,于是现在改为centos系统的linux平台。需要把windows中用pfx证书转为appache用到key和crt组成的证书

 

openssl命令行将pfx格式转.key和.crt文件,Apache适用

      

  将*.pfx文件放到bin目录下,执行:
          openssl pkcs12 -in myssl.pfx -nodes -out server.pem
          openssl rsa -in server.pem -out server.key
          openssl x509 -in server.pem -out server.crt
          (server.pfx是IIS导出的文件,利用openssl导出server.key和server.crt)

 

appache配置ssl模块请参考:https://www.cnblogs.com/vincentfu/p/5721374.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-08-10
猜你喜欢
  • 2021-10-05
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
相关资源
相似解决方案