Let'sEncryptでnginxのプラグインがない

Let'sEncryptでnginxのプラグインがない

2021-09-03

パッケージの更新時に何故かcertbotが消えていたので

sudo dnf install certbot

でcertbotを入れたあと

sudo certbot renew

とすると、下記のようなエラーが発生

Failed to renew certificate xxx.yyy with error: The requested nginx plugin does not appear to be installed

nginxのプラグインがないので下記で入れる

sudo dnf install python-certbot-nginx

python3の場合は下記

sudo dnf install python3-certbot-nginx