sudo yum install certbot-nginx
sudo certbot --nginx

sudo crontab -e;

43 6 * * * certbot renew --post-hook "systemctl reload nginx"