Letsencrypt 문제해결

백성현·2021년 7월 28일

certbot renew #1

에러 메시지

Attempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.com.conf
produced an unexpected error: urn:acme:error:serverInternal 
:: The server experienced an internal error :: 
ACMEv1 is deprecated and you can no longer get certificates from this endpoint. 
Please use the ACMEv2 endpoint, you may need to update your ACME client software to do so. 
Visit https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430/27 for more information.. Skipping.

해결

apt install --only-upgrade certbot
certbot renew

certbot renew #2

에러 메시지

Attempting to renew cert (example.com) from /etc/letsencrypt/renewal/example.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/example.com/fullchain.pem (failure)

해결

certbot delete --cert-name example.com
certbot certonly -d ...

certbot {command}

에러 메시지

Another instance of Certbot is already running

해결

find / -type f -name ".certbot.lock"
find / -type f -name ".certbot.lock" -exec rm {} \;

0개의 댓글