My domain is: socomusic.net
I ran this command: certbot renew --dry-run
It produced this output:
Attempting to renew cert (www.socomusic.com) from /etc/letsencrypt/renewal/www.socomusic.com.conf produced an unexpected error: 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… Skipping.
My web server is (include version): Apache 2.4.7
The operating system my web server runs on is (include version): Ubuntu 14.04
My hosting provider, if applicable, is: vps.net
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): 0.28
I got the email that I need to switch away from the TLS version so I upgrade my certbot, but am receiving the error noted above.
In my vhost file, I’m redirecting all of my port 80 traffic to port 443 which I believe is causing the problem, but not sure how to resolve it.
<VirtualHost 126.96.36.199:80> ServerName socomusic.com Redirect / https://socomusic.com/ </VirtualHost> <VirtualHost 188.8.131.52:80> ServerName www.socomusic.com Redirect / https://www.socomusic.com/ </VirtualHost> <VirtualHost 184.108.40.206:80> ServerName socomusic.net Redirect / https://socomusic.net/ </VirtualHost> <VirtualHost 220.127.116.11:80> ServerName www.socomusic.net Redirect / https://www.socomusic.net/ </VirtualHost>