SSL証明書の自動更新(Let's Encrypt)

参考 https://qiita.com/mogya/items/f43334fd531888c4774f

$ sudo systemctl enable --now certbot-renew.timer

# タイマー確認
$ sudo systemctl list-timers

# 証明書更新後に自動でapacheの再起動
$ sudoedit /etc/sysconfig/certbot
POST_HOOK="--post-hook 'apachectl graceful'"

# 再起動
$ sudo apachectl restart

# ログ
$ sudo systemctl status certbot-renew