如何讓 Nginx 取得下一個 SSL 憑證

如何讓 Nginx 取得下一個 SSL 憑證

我正在將 Letsencrypt SSL 憑證與 Nginx 一起使用(nginx 版本:nginx/1.10.3 (Ubuntu))。根據我的理解,Nginx 需要重新啟動,或至少重新載入其配置,以便在續約後選擇新憑證。

然而,運行後

moby@c6867cdcfad4:/thermo# /etc/init.d/nginx reload
 * Reloading nginx configuration nginx

瀏覽器仍然顯示舊憑證(我嘗試過具有乾淨快取的不同瀏覽器)。

在此輸入影像描述

即使憑證已經更新,如日誌Certbot所示

The following certs are not due for renewal yet:   
/etc/letsencrypt/live/thermo.com/fullchain.pem expires on 2019-08-26 (skipped)
 No renewals were attempted.

我在這裡錯過了什麼嗎?

相關內容