如果你最近網站出現了 WP HTTP Error: cURL error 60: SSL certificate problem: certificate has expired 那麼不要慌張,這是一個全球性的問題,主要是由於 Let’s Encrypt 的 root 根證書過去導致,如果你的網站或者伺服器也是在用 Let’s Encrypt 的免費 SSL 證書,網站出現異常,或者老舊機器無法訪問你的網站,那麼可以嘗試下載下方的檔案替換下。
下載檔案
https://dl1.weixiaoduo.com/2021/10/ca-bundle.zip
下載後解壓得到更新證書 ca-bundle.crt
;
並將其替換為您的 /wp-cinludes/certificates/ca-bundle.crt
原始路徑
https://github.com/WordPress/WordPress/blob/master/wp-includes/certificates/ca-bundle.crt
如果嫌麻煩或者沒有遇到相關影響,可以不用管,等下個 WordPress 版本更新就行。