Your system is not supported by certbot-auto anymore

先日、Let’s Encrypt の証明書自動更新で使っている certbot-auto が以下のようなエラーを出すようになりました。

Your system is not supported by certbot-auto anymore.
Certbot will no longer receive updates.
Please visit https://certbot.eff.org/ to check for other alternatives.

このメッセージを見ると certbot-auto はもうサポートされないようなので、別の手段で更新しないといけなさそうです。
ちょっと面倒そうだな、、と思いましたが、自分の CentOS-7.6系の環境では簡単に解決しました。

まず、yum で certbot をインストールします。

# yum install certbot

そして、今まで証明書更新のために実行していた certbot-auto コマンドをそのまま certbot に更新するだけでOKでした。
ちなみに、cron で下記を設定しています。

01 02 * * * /bin/certbot renew -q --post-hook "systemctl reload httpd"

コメント

タイトルとURLをコピーしました