Software Development Engineering/Dev.Info.
[SSL] Auto-renewal SSL on CentOS (let's encrypt, certbot)
devxpert.yoon
2021. 2. 9. 01:46
728x90
반응형
To renew ssl automatically,
We can use crontab.
Step 1. enter crontab edit mode
$ sudo crontab -e
Step 2. certbot auto-renewal script
## certbot
30 4 * * 0 certbot renew >> /home/log/certbot/cert_$(date +\%Y\%m\%d).log
above script will be executed 4:30 AM on every Sunday.
and the execution log will be stored in the "/home/log/certbot/" folder.
728x90
반응형