使用certbot

 1 dnf install certbot
 2 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
 3 dnf install certbot
 4 dnf install python3-certbot-nginx
 5 dnf install nginx
 6 nginx
 7 systemctl stop oracle-cloud-agent
 8 systemctl disable oracle-cloud-agent
 9 systemctl stop oracle-cloud-agent-updater
 10 systemctl disable oracle-cloud-agent-updater
 11 systemctl stop firewalld.service
 12 systemctl disable firewalld.service
 13 certbot --nginx -d bark.greycode.top
 14 history
Published At