[solved-super simple] let's encrypt letsencrypt 자동 갱신 설정 auto renew error

본문

letsencrypt 자동 갱신 설정



.....conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.

1. check
ex) $sudo certbot certificates

2. stop nginx or apache
ex) $sudo service nginx stop (or apachectl stop)

3. cert renew



4. $sudo service nginx start (or apachectl start)



auto update letsencrypt for every month 5 03am 1~3mins

## for nginx
1 3 5 * * sudo /usr/sbin/service nginx stop
2 3 5 * * sudo /usr/bin/letsencrypt renew
3 3 5 * * sudo /usr/sbin/service nginx start

## for apache
1 3 5 * * sudo /usr/sbin/apachectl start
2 3 5 * * sudo /usr/bin/letsencrypt renew
3 3 5 * * sudo /usr/sbin/apachectl stop

관련자료

댓글 0
등록된 악플이 없습니다.