My domain is:
gnite.pl & www.gnite.pl
I ran this command:
certbot renew
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/gnite.pl-0001.conf
Renewing an existing certificate for gnite.pl and www.gnite.pl
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: gnite.pl
Type: unauthorized
Detail: 51.68.138.45: Invalid response from http://gnite.pl/.well-known/acme-challenge/RcWf0lSL1ycZEJTRv2h89ghrfAOGpUWPpI4bPxwQmBc: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Failed to renew certificate gnite.pl-0001 with error: Some challenges have failed.
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/gnite.pl-0001/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
Apache 2.4.52
The operating system my web server runs on is (include version):
Ubuntu Server 22.04
My hosting provider, if applicable, is:
VPS @ OVH
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):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 1.21.0
I recently moved my server, including all the configs. Whenever I try to renew my certs I get the above error, but if I'm reading the logs right, only for the naked domain, the www seems to work fine. I don't get it, if I manually put a file with the name of one of the tokens in the .well-known/acme-challenge directory it is accessible via browser both with and without www. What am I doing wrong here...