글 삭제

작성자 본인만 삭제할 수 있습니다

← 홈으로
익명 · 2023.10.01 · 조회 40,570
Nginx certbot renew 오류 | Nginx 플러그인 설치
<p>File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line 1460, in renew<br></p><p>renewal.handle_renewal_request(config)</p><p>&nbsp; File "/usr/lib/python3/dist-packages/certbot/_internal/renewal.py", line 500, in handle_renewal_request</p><p>&nbsp; &nbsp; raise errors.Error("{0} renew failure(s), {1} parse failure(s)".format(</p><p>certbot.errors.Error: 1 renew failure(s), 0 parse failure(s)</p><p>2023-10-01 21:32:14,014:ERROR:certbot._internal.log:1 renew failure(s), 0 parse failure(s)</p><p><br></p><p>Naginx에서 위와 같은 에러 로그가 보일 경우, 또는 certbot 인증서 갱신 오류가 발생할 경우 아래와 같이 해결하면 된다.</p><p><br></p><p>우선 오류가 발생하는 이유는 플러그인 미설치 또는&nbsp;options-ssl-nginx.conf가 수동으로 설정되어 있어서 이다.</p><p><br></p><p>하지만 이번 게시글에서는 플러그인 설치 하는 방법에 대해 소게하겠다.</p><p><br></p><p>1. 혹시 설치되어 있을 수 있는 아파치 플러그인 삭제</p><p>[code]sudo apt-get remove python3-certbot-apache[/code]</p><p><br></p><p>2. Nginx 플러그인 설치</p><p>[code]sudo apt-get install python3-certbot-nginx[/code]</p><p><br></p><p>3. SSL 인증서 갱신</p><p>[code]sudo certbot renew --nginx[/code]</p>
삭제된 게시글은 복구할 수 없습니다