Letsencrypt 인증서 갱신이 안된다고요?

DriedWoo·2022년 10월 27일
0

📞 인증서를 갱신하세요

Let's encrypt에서 메일이 왔다. 곧 있으면 인증서 유효기간이 끝난다고, 갱신하라는 내용이다. 분명 자동 갱신을 켜놨었는데 안 됐나보다.

🚨 머선일이고

갱신하려고 Certbot으로 들어가 certbot renew 명령어를 입력했는데, 인증에 실패했다는 오류를 뿜는다.

The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.

대충 80포트가 안 열려있다는 소리 같아서, 포트포워딩도 다시 확인해보고 인바운드 규칙도 수동으로 뚫어봤는데 계속 똑같더라.

💡 NGINX가 문제였다

포트..? 네트워크..? 하고 한참 생각하다가 혹시나? 하고 NGINX를 끄고 certbot renew를 한번 더 실행해봤는데,

Congratulations, all renewals succeeded:
C:\Certbot\live\mindledb.tplinkdns.com\fullchain.pem (success)

억울할 정도로 깔끔하게 갱신됐다.

profile
mindle

0개의 댓글