#author("2017-05-22T16:18:07+00:00","default:kazuma","kazuma") [[letsencrypt]] * 概要 [#e161ad90] letsencryptを使ってSSL証明書を設置する手順です。 * 手順 [#fcc2200b] # cd /usr/local/ # git clone https://github.com/certbot/certbot # cd certbot/ # ./certbot-auto -n # ./certbot-auto certonly --webroot \ -w /var/www/example -d example.com \ -m sample@example.com \ --agree-tos -n *webサーバーの設定 [#td0b0a42] *自動更新設定 [#tf41cd71] # crontab -e 00 05 01 * * /usr/local/certbot/certbot-auto renew --force-renewal && /bin/systemctl reload httpd