IT팁톡

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

페이지 정보

작성자 모조리다
작성일 2023.07.17 23:22
3,685 조회

본문

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
전체 17 / 1 페이지
홈으로 전체메뉴 마이메뉴 새글/새댓글
전체 검색
회원가입