機能 
 構成・方式 
 タスク 
    証明書更新 
    更新自動化 
    証明書の削除 
    サーバー移転 
 Certbot導入 

 証明書更新
 ・# ./certbot-auto renew
更新するほど古くないのでスキップ     Saving debug log to /var/log/letsencrypt/letsencrypt.log     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     Processing /etc/letsencrypt/renewal/www.it-o.net.conf     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     Cert not yet due for renewal     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     The following certs are not due for renewal yet:      /etc/letsencrypt/live/www.xxxx.xxx/fullchain.pem expires on 2020-01-19 (skipped)     No renewals were attempted.     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 更新の自動化
 ・cronを設定(毎月1日、4:00の更新例)
0 4 1 * * /usr/local/certbot/certbot-auto renew && /bin/systemctl reload httpd 

 証明書の削除
 ・# ./certbot-auto delete -d xxxx.jp     Upgrading certbot-auto 1.7.0 to 1.8.0...     Replacing certbot-auto...     Creating virtual environment...     Installing Python packages...     Installation succeeded.     Saving debug log to /var/log/letsencrypt/letsencrypt.log     Which certificate(s) would you like to delete?     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     1: xxxx.jp     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     Select the appropriate numbers separated by commas and/or spaces, or leave input     blank to select all options shown (Enter 'c' to cancel):     - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -     Deleted all files relating to certificate www.xxxx.jp [root@fe12 certbot]# ./certbot-auto delete -d it-circle.net Upgrading certbot-auto 1.8.0 to 1.10.1... Replacing certbot-auto... Creating virtual environment... Installing Python packages... Installation succeeded. Saving debug log to /var/log/letsencrypt/letsencrypt.log Which certificate(s) would you like to delete? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: www.it-circle.net - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The following certificate(s) are selected for deletion: * www.it-circle.net Are you sure you want to delete the above certificate(s)? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: Yes Deleted all files relating to certificate www.it-circle.net. [root@fe12 certbot]#
 別のサーバーに移転
 ・旧サーバーから引き継ぐ
 ・/etc/letsencrypt を移転する。
 ・Certbot導入
0 4 1 * * /usr/local/certbot/certbot-auto renew && /bin/systemctl reload httpd