유용한 팁
2019.03.23 02:16
조회 수 : 308
Letsencrypt ssl 인증서는 3개월마다 업데이트 해야 한다.
보통 아래 순서로 업데이트를 진행하는데
# systemctl stop nginx.service
# certbot-auto renew
# systemctl start nginx.service
certbot-auto renew가 실행되는 과정에 certbot-auto 업그레이드 과정이 수반된다.
실제 인증서 업데이트 시간보다 certbot-auto 업그레이드하는 시간이 더걸린다.
웹서버를 중단시키지 않은 상태에서 먼저 certbot-auto를 업그레이드한 후 certbot-auto renew를 실행시키면
ssl 인증서 업데이트시 웝서버가 중단되어 있는 시간을 최소화할 수 있다.
따라서 아래과 같은 순서로 진행한다.
# certbot-auto --version // 이단계에서 certbot-auto가 업그레이드 된다.
# systemctl stop nginx.service
# certbot-auto renew
# systemctl start nginx.service