Last active
September 13, 2017 00:50
-
-
Save GitSumito/454679d873a5c4ae60fe0d6437429d25 to your computer and use it in GitHub Desktop.
15秒でわかるLet's Encryptのしくみ~無料で複数ドメイン有効な証明書作成~ ref: http://qiita.com/S-T/items/7ede1ccfae6fc7f08393
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tsukada.test.jp | |
sumito.test.jp | |
coco.test.jp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src | |
git clone https://github.com/certbot/certbot | |
cd certbot/ | |
./certbot-auto certonly --no-self-upgrade -n --webroot --agree-tos --email webadmin@test.jp -w /var/www/html -d tsukada.test.jp -d sumito.test.jp -d coco.test.jp --expand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# crontab -l | |
0 1 1 * * /usr/local/src/certbot/certbot-auto renew --force-renew && service httpd restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment