内容へ移動
fl8 Wiki
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
Dokuwiki.fl8.jp
»
01_linux
»
02_www
»
18 Let's Encrypt Certbot
トレース:
01_linux:02_www:18_let_s_encrypt_certbot
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== 18 Let's Encrypt Certbot ====== Docker版は-> [[06_virtualization:05_container:10_docker_let_s_encrypt]] ===== 1.snapdインストール ===== yum -y install epel-release yum -y install snapd ===== 2.snapd準備 ===== systemctl enable --now snapd.socket ln -s /var/lib/snapd/snap /snap ===== 3.snapdアップデート ===== ※1度ログアウト後、再度ログインしてから実行 snap install core snap refresh core ===== 4.certbotインストール ===== snap install --classic certbot ===== 5.証明書作成 ===== certbot certonly --webroot -w /var/www/html -d hogehoge.com ===== 6.証明書更新 ===== certbot renew ===== 7.crontabで更新 ===== certbot renew --renew-hook "systemctl restart httpd" -q >> /var/log/certbot-renew.log {{tag>SSL Let's Encrypt}}
01_linux/02_www/18_let_s_encrypt_certbot.txt
· 最終更新: 2023/06/15 22:08 by
matsui
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ