server certbot apache multiple domain

2019.04.10 00:41

엘카 조회 수:1411

참고 문서  

https://certbot.eff.org/lets-encrypt/centosrhel7-apache

https://community.letsencrypt.org/t/multiple-domains-with-certbot/51064/9

 

$ sudo yum install certbot python2-certbot-apache

$ certbot --apache -d elkha.kr -d socket.elkha.kr

 

 

$ crontab -e

0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew