気ままに

プログラム関連で困ったことを調べて気ままに投稿

【メモ】Let's Encrypt で debugオプションが無いのでエラーが出た(Upgrading certbot-auto 1.0.0 to 1.3.0)

掲題の通りの内容

あんまり機会がないけど、備忘録メモ

いつも通りのコマンド(3ヶ月に1回)実行したエラーが出たので、ログの通り --debugのオプションつけたら解決した話。

$ sudo certbot-auto certonly --non-interactive --agree-tos --webroot -w <ドキュメントRootディレクトリ> -d <ドメイン>
FATAL: Amazon Linux support is very experimental at present...
if you would like to work on improving it, please ensure you have backups
and then run this script again with the --debug flag!
Alternatively, you can install OS dependencies yourself and run this script
again with --no-bootstrap.

その為、--debugオプションつけて実行するといつも通り証明書が作成できた!

$ sudo certbot-auto certonly --non-interactive --agree-tos --webroot -w <ドキュメントRootディレクトリ> -d <ドメイン> --debug