LINUX.ORG.RU

certbot renew не обновляет

 


0

1

пытаюсь обновить сертификат на почте,certbot свежий. применяю команду пытаюсь обновить сертификат на почте,certbot свежий. применяю команду cetbot renew выдает ошибку (нет прав)хотя делаю под рутом renew выдает ошибку (нет прав)хотя делаю под рутом

Ответ на: комментарий от ass

[root@post ~]# certbot renew

Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Processing /etc/letsencrypt/renewal/post.atr-contact.ru.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Cert is due for renewal, auto-renewing...

Plugins selected: Authenticator apache, Installer apache

Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org Renewing an existing certificate

Performing the following challenges:

http-01 challenge for post.x

http-01 challenge for post.x

Waiting for verification...

Cleaning up challenges

Attempting to renew cert (post.x) from /etc/letsencrypt/renewal/post.x.conf produced an unexpected error: Failed authorization procedure. post.x.ru (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://x.ru/.well-known/acme-c hallenge/wrf0oG19dQsjGBtoLqVwUjlObtAvgC6nuHHwiBFYGe4 [195.x]: «<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></cen ter>\r\n<hr><center>nginx/1.15.7</ce», post.x (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid respo nse from http://post.x/.well-known/acme-challenge/Rzqu9QzH-HjB1SP1ZXmdpZl_bX5wMtugv-vf... [195.x]: «<html>\r\n<head><title>404 Not Found</title></ head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.15.7</ce». Skipping. All renewal attempts failed. The following certs could not be renewed:

/etc/letsencrypt/live/post.x/fullchain.pem (failure) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/post.x/fullchain.pem (failure) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

- The following errors were reported by the server:

Domain: post.x

Type: unauthorized

Detail: Invalid response from

http://post.x/.well-known/acme-challenge/wrf0oG19dQsjGBtoLqVwUjlObtAvgC6nuHHw... [195.x]: «<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not

Found</h1></center>\r\n<hr><center>nginx/1.15.7</ce»

Domain: post.x

Type: unauthorized

Detail: Invalid response from http://post.x.ru/.well-known/acme-challenge/Rzqu9QzH-HjB1SP1ZXmdpZl_bX5wMtugv...

[195.x]: «<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not

Found</h1></center>\r\n<hr><center>nginx/1.15.7</ce» To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.

Toxahh ()
Ответ на: /etc/ от Toxahh

(ставил другой человек)

С таким уровнем компетенции в linux (не в обиду, нельзя же все уметь и все знать на свете) вам в раздел Job.

А судя вот по этому

пытаюсь обновить сертификат на почте

Конфигурация там кастомная, а не просто бота пнуть разок по дефолту.

mandala ★★★★ ()