- 履歴一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- Certbot へ行く。
- 1 (2024-09-05 (木) 01:34:07)
- 2 (2024-09-13 (金) 16:55:42)
- 3 (2024-09-14 (土) 11:01:44)
- certbot-auto は廃止されてる。
証明書の作り方†
- 「Let's Encrypt」のsnap版certbotのインストール手順とテスト方法
- Let’s EncryptのSSL証明書で、安全なウェブサイトを公開
- Let's Encrypt (certbot) でワイルドカード証明書できた!
メモ†
これ参考に
% sudo rm /etc/letsencrypt/renewal/*.conf (設定ファイル) % sudo rm /etc/letsencrypt/live/[a-z]* (証明書) % sudo certbot certonly --manual \ --server https://acme-v02.api.letsencrypt.org/directory \ --preferred-challenges dns \ -d *.awm.jp -d awm.jp \ -m yoya@awm.jp \ --agree-tos \ --manual-public-ip-logging-ok % (bind 設定で TXT を更新する) % sudo crontab -e # 毎月 1日の am01:01 に自動実行 1 1 1 * * certbot renew --renew-hook "systemctl restart httpd" (必要に応じてhook追加 ) -q >> /var/log/certbot-renew.log | mail -s "CERTBOT Renewals on (該当ホストを示す文字列)" yoya@awm.jp < /var/log/certbot-renew.log # 必要に応じてhook追加 > --renew-hook "systemctl restart postfix" --renew-hook "systemctl restart dovecot" -renew-hook "systemctl restart vsftp"