2021年1月

在Windows或Linux上运行以下命令生成.pfx文件:

openssl pkcs12 -export -out iiscert.pfx -inkey private-cert.key -in public-cert.pem
然后在IIS上通过.pfx文件导入证书。