letsencrypt

概要

letsencryptを使ってSSL証明書を設置する手順です。

手順

# 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サーバーの設定

自動更新設定

# crontab -e
00 05 01 * * /usr/local/certbot/certbot-auto renew --force-renewal && /bin/systemctl reload httpd

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS