Open occidere opened 5 years ago
nginx 의 webroot 방식에서 certbot-auto renew --force-renewal 로 갱신을 시도하나 에러가 나는 경우
certbot-auto renew --force-renewal
Domain: example.occidere.com Type: unauthorized Detail: Invalid response from https://example.occidere.com/.well-known/acme-challenge/YTiyCeNPk6d0ifJcwOzGvja23V5DPXCQZQ9nvIxo68Y [xxx.xxx.xxx.xxx]: "{\"timestamp\":\"2019-03-13T00:30:03.542+0000\",\"status\":404,\"error\":\"Not Found\",\"message\":\"No message available\",\"path\":\"/.well-kno"
/etc/nginx/nginx.conf
Domain: example.occidere.com Type: connection Detail: Fetching http://example.occidere.com/.well-known/acme-challenge/GAPYtpayVafl5Qgy8enxJFVS1d91PbOIAI09G3JL2VI: Connection refused
아.. 드디어 해결했네요. 감사합니다.
Connection Refused 에러때문에 고생했는데 nginx가 정상적으로 실행되지 않아서 발생한 오류였네요... 덕분에 잘 해결했습니다. 감사합니다!!
certbot-auto 를 이용해 Nginx 기반의 letsencrypt 인증서 갱신 시 실패하는 경우
상황
nginx 의 webroot 방식에서
certbot-auto renew --force-renewal
로 갱신을 시도하나 에러가 나는 경우unauthorized 에러인 경우
/etc/nginx/nginx.conf
에 http 80번 포트의 리디렉션 부분을 주석처리 후 nginx 를 재시작한 뒤 재 시도한다.Connection Refused 에러인 경우
참고