yum install epel-release yum install certbot python3-certbot-apache
vim /etc/httpd/con.f/doamin.conf
<VirtualHost *:80> ServerName your domain name DocumentRoot your web path RewriteEngine on </VirtualHost> <Directory your web path> Options FollowSymLinks AllowOverride None Require all granted </Directory>
certbot --apache
certbot --force-renew -d domain name
certbot renew --dry-run