パッケージインストール
sudo yum -y install --enablerepo=epel certbot
以下SSL証明書取得コマンド
sudo certbot certonly --webroot -w ドキュメントルート -d ドメイン
証明書更新
sudo certbot renew
証明書更新は、renewで期限がきたら更新されるのでデイリーでCRONに設定しても良い
なお、稼働中のサーバにSSLを導入する前提の記事です。
0 0 * * * /bin/certbot renew