letsencrypt 与 nginx - 更新失败

letsencrypt 与 nginx - 更新失败

自一个月以来,我收到了来自 letsencrypt 更新 cronjob 的错误。

  • 操作系统:Ubuntu 16.04.6 Xenial
  • letsencrypt 版本:certbot 0.23.0
  • Cronjob 命令:

    @daily letsencrypt renew >> /cronjobs/cert/daily-renew.log && /etc/init.d/nginx reload
    

错误信息:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for website.domain.com
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (website.domain.com) from /etc/letsencrypt/renewal/website.domain.com.conf produced an unexpected error: Failed authorization procedure. website.domain.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://website.domain.com/.well-known/acme-challenge/UBDM3DZfY837o9OR9E9uMlNKhNbqiN_EdTvXTD9VkDw: Connection refused. Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/website.domain.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)

我尝试手动更新并检查是否有可用的更新。此外,我花了很多时间研究和测试来解决这个问题。所以我尝试了最后一步,为它创建了一个论坛帖子。

有人知道如何解决错误并更新我的证书吗?

相关内容