Certbot не продлевает сертификаты - PullRequest
0 голосов
/ 20 мая 2019

У меня есть домен вида api.mydomain.com с сертификатом letsencrypt, который я пытаюсь продлить.

root@prod-app-1:/home/ninesalt# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
  Certificate Name: api.mydomain.com
    Domains: api.mydomain.com
    Expiry Date: 2019-06-17 11:25:52+00:00 (VALID: 27 days)
    Certificate Path: /etc/letsencrypt/live/api.mydomain.com/fullchain.pem
    Private Key Path: /etc/letsencrypt/live/api.mydomain.com/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Однако, когда я пытаюсь обновить его с certbot renew, я получаю эту ошибку:

Attempting to renew cert (api.mydomain.com) from /etc/letsencrypt/renewal/api.mydomain.com.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',). Skipping.
All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/api.mydomain.com/fullchain.pem (failure)

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

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/api.mydomain.com/fullchain.pem (failure)
...