First, thank you EFF for providing free SSL certificate for everyone.
I was installing certbot on my virtual-host-server, I follow the instructions and encounter this:
Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
I search the web for help, and one post told me to add a virtual host like this:
<VirtualHost *:80> DocumentRoot "/var/www/html" ServerName i.dongde.com </VirtualHost>
I did it, and everything went well.
Congratulations! You have successfully enabled https://i.dongde.com
But the certificate is not valid, please help
My domain is: i.dongde.com
I ran this command: follow the certbot instructions
It produced this output: Congratulations! You have successfully enabled https://i.dongde.com
My web server is (include version): Apache/2.4.6 (CentOS7)
The operating system my web server runs on is (include version): CentOS
My hosting provider, if applicable, is: Vultr
I can login to a root shell on my machine (yes or no, or I don’t know): Yes