cerbotインストールとサーバー証明書取得

**********************************************************************

[root@falcon21 ~]# dnf -y install certbot

Certbot の自動更新タイマーはデフォルトでは開始されません。
自動更新を有効にするには、「systemctl start certbot-renew.timer」を実行してください。


[root@falcon21 ~]# systemctl start certbot-renew.timer


renew.timerの確認
[root@falcon21 ~]# systemctl list-timers certbot-renew.timer


サーバー証明書取得
[root@falcon21 ~]# certbot certonly –webroot -w/var/www/html/ -m root@falcon21.space -d falcon21.space –agree-tos

又は、
[root@falcon21 ~]# certbot certonly –webroot -w /var/www/html -d falcon21.space


証明書確認
root@falcon21:~# certbot certificates

Certificate Path: /etc/letsencrypt/live/falcon21.space/fullchain.pem
Private Key Path: /etc/letsencrypt/live/falcon21.space/privkey.pem