網站CA自簽憑證 解決 CHROME/EDGE跳出網站不安全的訊息
使用自簽憑證安裝再網站上會出現警告
其中錯誤訊息包含
NET::ERR_CERT_COMMON_NAME_INVALID
or
Invalid self signed SSL cert - "Subject Alternative Name Missing"
表示憑證中缺少了SAN (subject alternative name)
此資訊無法透過IIS的憑證範本來填加
請用以下方式
到 WEB伺服器電腦上
打開MMC→憑證→個人憑證→滑鼠右鍵 所有工作→進階工作→要求自訂憑證
Open the MMC console and add the Certificate snap-in to it as Local Computer. Right Click Personal node on the left and Select All Tasks –> Advanced Operations –> Create Custom Request
會出現 自訂憑證內容
憑證類型選 WEB伺服器
再自訂內容中
填入相關欄位
重點
下方的屬性 選DNS
輸入此SERVER的FQDN EX:web01.fender.com
複製檔案內容到憑證伺服器完成憑證要求
然後再將cer憑證檔案匯入到IIS伺服器中
於IIS站台中 將443PORT繫結到新憑證上
完成~
footer
See also :
https://lalmohan.co.nz/2020/02/10/create-and-install-a-san-certificate-subject-alternative-name-in-windows-without-third-party-tools/
留言