Skip to content

Instantly share code, notes, and snippets.

@GitSumito
Last active September 13, 2017 00:50
Show Gist options
  • Save GitSumito/454679d873a5c4ae60fe0d6437429d25 to your computer and use it in GitHub Desktop.
Save GitSumito/454679d873a5c4ae60fe0d6437429d25 to your computer and use it in GitHub Desktop.
15秒でわかるLet's Encryptのしくみ~無料で複数ドメイン有効な証明書作成~ ref: http://qiita.com/S-T/items/7ede1ccfae6fc7f08393
tsukada.test.jp
sumito.test.jp
coco.test.jp
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
# 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