I have used it on another server with no problem for hundreds of domains, I run it with dns on two wildcard domains but this domain is not mine so I had to resort to the old way. but it is not working anymore.
I got a test in that path:
http://reg.sommerlopet.no/.well-known/acme-challenge/test
So any reason why it shouldn't be working?
My domain is:
reg.sommerlopet.no
I ran this command:
sudo /var/lib/snapd/snap/bin/certbot certonly --apache -d reg.sommerlopet.no --dry-run -v
and
sudo /var/lib/snapd/snap/bin/certbot certonly --webroot -w /var/www/projects/prod/reg.sommerlopet.no -d reg.sommerlopet.no
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Simulating a certificate request for reg.sommerlopet.no
Performing the following challenges:
http-01 challenge for reg.sommerlopet.no
Waiting for verification...
Challenge failed for domain reg.sommerlopet.no
http-01 challenge for reg.sommerlopet.no
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: reg.sommerlopet.no
Type: connection
Detail: 78.41.124.36: Fetching http://reg.sommerlopet.no/.well-known/acme-challenge/nrGHVeyD79YBUnyEm6coJhuiSzwX_TaKWadrUAgyflo: Connection reset by peer
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
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.6
The operating system my web server runs on is (include version):
CentOS 7.9.2009
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 2.6.0