Назад | Перейти на главную страницу

Как обновить просроченный сертификат Let's encrypt

Я не заметил, что срок действия моего сертификата Let's Encrypt истек. Я хочу его обновить.

Я набрал команду ниже

certbot renew

Но я получил ошибку ниже.

# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/www.algebra.live.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Attempting to renew cert (www.algebra.live) from     /etc/letsencrypt/renewal/www.algebra.live.conf produced an unexpected error:     ('Connection aborted.', gaierror(-2, 'Name or service not known')). Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/www.algebra.live/fullchain.pem (failure)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -    

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/www.algebra.live/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     -
1 renew failure(s), 0 parse failure(s)

Как я могу продлить этот сертификат?

Вы не можете продлить сертификат для имени хоста, для которого нет адресной записи в DNS.

Host www.algebra.live not found: 3(NXDOMAIN)

Вам необходимо отредактировать записи DNS и добавить соответствующие записи адреса для этого имени.


Кроме того, ваша версия certbot, похоже, пытается выполнить задачу TLS-SNI-01, что больше не разрешено. Перед повторной попыткой вам необходимо обновить certbot.