Sangil's blog

https://github.com/ChoiSangIl Admin

certbot-auto has insecure permissions! 오류 DEV / SERVER

2020-05-28 posted by sang12


Letsencrypt를 사용하여 무료로 https를 사용하고 있는데요. 해당 인증서는 3개월 마다 갱신을 해줘야 하는데 드디어 그 기간이 왔네요. 하지만 cerbot-auto renew명령어를 치니 빨간줄이 쭉쭉 나오며 오류를 뿜내요.. (결국 기존 인증서를 삭제하고 다시 만듬) 하지만 그전에 위 오류가 나와서 삽질해서 이렇게 기록을 남깁니다. 

https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979 해당 사이트를 보면 자세히 나와 있는데요 cerbot-auto 파일을 /usr/local/bin 경로로 옮겨주면 거짓말처럼 사라지는걸 볼 수 있습니다. 

REPLY