Lets’s encrypt サーバー証明書を更新しないようにするには?

ショコラ
ショコラ

Lets’s encrypt サーバー証明書を更新しないようにするには?

renew の対象は「/etc/letsencrypt/renewal」のフォルダーある .confの設定ファイル なので、
ファイルを削除するか、.conf以外の別の拡張子 に変更する。
次に、私は Nginx を使っているので、「/etc/nginx/conf.d」のフォルダーにある .confの設定ファイル を読み込まないようにする。これもファイルを削除するか、.conf以外の別の拡張子 に変更する。

もっさん先輩
もっさん先輩
cd /etc/letsencrypt/renewal
mv answorz.com.conf answorz.com.conf-off
certbot renew --dry-run
cd /etc/nginx/conf.d
mv answorz.com.conf answorz.com.conf-off
service nginx reload

以上

Scroll to Top