發表文章

目前顯示的是有「SSL」標籤的文章

OpenSSL PFX to Key and Crt

PFX 轉換成 crt 與 key 檔  openssl pkcs12 -in [yourfilename.pfx] -clcerts -nokeys -out [certificatename.crt] openssl pkcs12 -in [yourfilename.pfx] -nocerts -out [keyfilename-encrypted.key]

sslforfree 免費憑證 For IIS 使用

https://www.sslforfree.com/ 在免費SSL平台申請SSL  會拿到三個檔案如下: ca_bundle.crt certificate.crt private.key 但這不適用於windows派的 IIS伺服器 所以必須透過轉成pfx供 IIS使用 首先先安裝openssl 並執行以下代碼: openssl pkcs12 -export -out certificate.pfx -inkey private.key -in certificate.crt -certfile ca_bundle.crt 期間會需要輸入pfx使用之密碼 請牢記,全在匯入IIS時key 入