參考 https://blog.johnwu.cc/article/iis-install-ssl-certificate.html
Windows 命令列,記得使用管理者權限才不會產生不出檔案
把IT提供的三個檔案放在同一個目錄下 certificate.crt private.key -certfile ca_bundle.crt
OpenSSL C:\Program Files\OpenSSL-Win64\bin
執行下列命令
openssl pkcs12 -export -in certificate.crt -inkey private.key -out sever.pfx -certfile ca_bundle.crt
會產生一個server.pfx copy要安裝的主機
inetmgr開啟IIS管理介面
選擇Server Cerfiticates
Import
切到要使用的website binding
完成後檢查鎖頭是否出現且可以使用
留言