certbotでキー入力待ち発生!
(certbotインストールディレクトリ)/certbot-auto certonly --standalone -d ほにゃらら.com※架空のドメイン
Let's Encryptから証明書を取得するためにずこっと叩いて2回目以降・・・。
You have an existing certificate that contains exactly the same domains you requested
Do you want to renew and replace this certificate with a newly-issued one?
同じドメイン名で要求済みなのは百も承知、
証明書の期限が切れる前に新しい証明書を要求したいのですが・・・
人力の場合はもちろん「YES!」で解決する事項ですが、
cronに登録しようにもキー入力待ちで進まないことに・・・。
--renew-by-defaultオプション!
(certbotインストールディレクトリ)/certbot-auto certonly --standalone -d ほにゃらら.com※架空のドメイン --renew-by-default
これで「規定で確認することなく再作成」になるので、心置きなくcronにぶち込めます(^^)
要求しすぎて怒られないように(==;)