0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

letsencrypt: cerbot-auto renew でバーチャルホスト環境の証明書更新が失敗するケースの対応例(再発)

Posted at

備忘として記載しておきます。

以前こちらで cert-bot renew の失敗事例について書きましたが、今回再発してしまいました。ログを見ると同じエラーログが吐かれていて、それにより何回実行しても証明書の更新が完了できない。(cert-bot のバージョンは 0.40.1 です)

どうやら、前回引っかかった「confファイルをファイル名によって優先順位付け」するロジックが変更されている様子。。
前回同様、backendのconfが書き換えられてしまっていました。

いったん暫定的な対応として、バックエンド用のconfファイル名を以下のとおり変更。

  • 旧:subdomain.backend.conf
  • 新:backend.subdomain.conf

ファイルマッチの条件が変わり、フロント用の設定ファイル subdomain.domain.conf が設定ファイルとみなされるようになり、証明書が更新できました。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?