LoginSignup
0
0

Alibaba CloudでのLet's Encrypt証明書更新失敗と対処

Posted at

更新失敗

systemctl stop <YOUR_HTTPD> でポート80で動いているデーモンを止めても、例のこれが出ます

$ certbot renew
<中略>
... Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.

lsof -i:80 で調べると、どうもAlibaba Cloudのセキュリティ関連のデーモン(AliYunDun)が80番ポートで動いているらしく、更新時にはこれが邪魔をしてます。なので、このデーモンを kill してから certbot renew ください。 更新終了後はOSのリブートまたは停止させたデーモンを再起動して完了です!

以下公式サイトの記述です。

After the Security Center agent is installed, the server automatically downloads the aegis_client and aegis_update files and starts the AliYunDun and AliYunDunUpdate processes. The server downloads and starts the other files and processes listed in the following table only after you enable related features. Therefore, you need to pay attention to the files and processes only after the related features are enabled.

For example, if you enable the client protection feature, Security Center downloads the AliSecGuard file and starts the corresponding process on your server. If you do not enable the feature, Security Center does not download the file or start the corresponding process.

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