LoginSignup
0
0

More than 3 years have passed since last update.

Certbotで証明書を更新しようとした際に詰まったところ

Posted at

certbot renew --standaloneしようとしたところ、以下のようなエラーが出ました

Attempting to renew cert ({ドメイン名}) from {confのパス} produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  {ディレクトリ名}fullchain.pem (failure)

原因

80番ポートがnginxに占有されていたため。
一旦nginxを止めたところ問題なく処理が完了しました。

そもそも該当のサービスでHttpは使っていないので、
nginxで使うポートは443のみにして80はSSLの更新時のみに開けるように対応するべきした。

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