
我在 Ubuntu 17.10 下有一個 VPS 伺服器,我有 2 個網域,我在 2 個月前為第一個網域建立了一個成功的 SSL 證書,今天我嘗試為第二個網域安裝 Lets Encrypt 網域,使用
certbot --authenticator standalone --installer apache -d domain.com -d www.domain.com --pre-hook "systemctl stop apache2" --post-hook "systemctl start apache2"
現在在 Chrome 上,我得到了無效的證書
NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
我該如何調試並修復此錯誤?謝謝?
答案1
將此標頭新增至您的網頁伺服器(您需要取得自訂報告 uri!):
Expect-CT: enforce, max-age=300, report-uri="https://..."