Can't renew due to probably config errors on my side

HI all
First this:

My domain is: victoroos.nl and some sub domains

I ran this command: sudo certbot renew

It produced this output
Vics certbot error 2711 - Pastebin.com

My web server is (include version): Apache 2

The operating system my web server runs on is (include version): Ubuntu

I can login to a root shell on my machine: Yes

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 5.1.0

And my apache hosts files:
Victor host files - Pastebin.com

So, Long story short, I moved from apache 2, to NGNIX but I missed some features (manly the once required for nextcloud) so moved back to apache 2. There the trouble started. I... I'm embarresed to admit but don't remember precisely what I did (something with repointing the certificates and copying from my old files (which I back uped, yeah me)) but in the end the certificates were recognised by Apache and the websites were reachable. Now the certs are run out.. but certbot can't renew 9see error)
I know I have to add an 80 port in my virtual host, but when I do that for a site, I get the error attached in the first pastebin (virtual hosts in the second).
Again.. I'm aware this is 100% user error but a help would be immensely appreciated.. I wanna do it right this time,

cheers
Vic

Are you still having problems? Because I checked a couple of your domains and they work with HTTPS and use a certificate you got yesterday.

The pastebin for your VirtualHosts was only for port 443. The errors in the log file you showed were because Certbot --apache option could not find a VirtualHost for port 80. Usually you want one of those so you can redirect people from HTTP to HTTPS properly.

And, right now you don't redirect HTTP to HTTPS so you may want to review that

If you want help reviewing that please show output of this. Please don't do it in a pastebin but just post the results here. Thanks

sudo apache2ctl -t -D DUMP_VHOSTS
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.