升級到 HTTPS 並從 gtmetrix 收到錯誤,無法連線到伺服器

升級到 HTTPS 並從 gtmetrix 收到錯誤,無法連線到伺服器

我剛剛升級了伺服器中的設定以使用HTTPS 並產生免費的Let's Encrypt - 免費SSL/TLS 證書,我可以使用網頁瀏覽器(Chrome - Windows)訪問我的網站,但是,當我嘗試使用Pagespeed Insights 測試它時(GTMetrix) 我收到此錯誤

Analysis Error
An error occurred fetching the page: HTTPS error: certificate verify failed
There may be a connectivity issue between your server and the GTmetrix test server. Try testing from another test location or try again later.

答案1

只是缺少 CA 捆綁包(包含根證書和中間證書) 在直接管理中轉到SSL Certificates under Advanced Features Section

SSL 憑證直接管理

在頁面底部點擊paste a CA Root Certificate

CA根憑證

CA Bundle到盒子上並檢查Use a CA Cert.

在此輸入影像描述

然後點選儲存。

相關內容