LoginSignup
0
2

More than 5 years have passed since last update.

Let's Encrypt certbot実行時、キー入力待ちで止まってcronで困らないようにする。

Last updated at Posted at 2017-01-09

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にぶち込めます(^^)

要求しすぎて怒られないように(==;)

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2