250x250
반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- html
- Linux
- Fail2ban
- git pull
- Liniux
- new user
- Xdebug
- Google Cloud
- CentOS7
- wordpress
- php
- SSL
- 구글 클라우드
- MariaDB
- Mac
- mysql
- crontab
- https
- front page
- centos
- Certbot
- root
- launch.json
- home page
- child theme
- DOM Parser
- Apache
- vscode
- non-www
- LetsEncrypt
Archives
- Today
- Total
between 0 and 1
[SSL] Auto-renewal SSL on CentOS (let's encrypt, certbot) 본문
Software Development Engineering/Dev.Info.
[SSL] Auto-renewal SSL on CentOS (let's encrypt, certbot)
devxpert.yoon 2021. 2. 9. 01:46728x90
반응형
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
반응형
'Software Development Engineering > Dev.Info.' 카테고리의 다른 글
[SSL, Apache] http -> https & www to non-www setting (0) | 2021.02.10 |
---|---|
[SSL] Let's encrypt on Cent OS (how to install) (0) | 2021.02.09 |
[Git] Adding an existing project to GitHub (기존 프로젝트 깃허브에 올리기) (0) | 2021.01.26 |
[VSCode] git pull - There is no tracking information for the current branch (0) | 2021.01.24 |
[Server] SSL for Localhost (Local Development Environment) (0) | 2021.01.03 |