Apache的SSL证书是由2个文件构成的,一个是.key文件,另一个是.crt文件。IIS使用的是.pfx文件,只需将.key+.crt文件转换为.pfx文件,将可以在IIS上安装了。

第一步: 下载OpenSSL软件包 http://www.myssl.cn/download/OpenSSL_0.9.8.a_Win32.zip

第二步:解压缩到 c:\openssl 目录下,运行cmd.exe进入命令窗口,执行:
         cd c:\openssl
          set OPENSSL_CONF=openssl.cnf
          openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt
          (server.key和server.crt文件是Apache的证书文件,生成的server.pfx用于导入IIS)

第三步:将server.pfx文件导入IIS

相关文章:

  • 2021-11-17
  • 2022-12-23
  • 2022-01-01
  • 2021-08-22
猜你喜欢
  • 2021-07-20
  • 2022-01-11
  • 2021-06-07
  • 2021-04-29
  • 2021-10-19
  • 2021-12-13
相关资源
相似解决方案