My domain is: stichtingvanoosterhout.nl
I ran this command: certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: marksmeets.nl
2: idefix.marksmeets.nl
3: www.marksmeets.nl
4: newhighs.nl
5: stichtingvanoosterhout.nl
6: www.stichtingvanoosterhout.nl
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 5 6
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for stichtingvanoosterhout.nl
http-01 challenge for www.stichtingvanoosterhout.nl
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. www.stichtingvanoosterhout.nl (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.stichtingvanoosterhout.nl/.well-known/acme-challenge/lZckiPYOU9ZJNmjp-hxQ7P0MkduK6D6fIPcLaKe7Mao [2a02:348:81:ca5f::1]: “\n\n404 Not Found\n\n
Not Found
\n<p”, stichtingvanoosterhout.nl (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://stichtingvanoosterhout.nl/.well-known/acme-challenge/mSNQBg_R_euP7C2OQ6YuBUL8rZ7e-yOOibyHZMx3yEc [2a02:348:81:ca5f::1]: “\n\n404 Not Found\n\nNot Found
\n<p”IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.stichtingvanoosterhout.nl
Type: unauthorized
Detail: Invalid response from
http://www.stichtingvanoosterhout.nl/.well-known/acme-challenge/lZckiPYOU9ZJNmjp-hxQ7P0MkduK6D6fIPcLaKe7Mao
[2a02:348:81:ca5f::1]: “\n\n404 Not
Found\n\nNot Found
\n<p”Domain: stichtingvanoosterhout.nl
Type: unauthorized
Detail: Invalid response from
http://stichtingvanoosterhout.nl/.well-known/acme-challenge/mSNQBg_R_euP7C2OQ6YuBUL8rZ7e-yOOibyHZMx3yEc
[2a02:348:81:ca5f::1]: “\n\n404 Not
Found\n\nNot Found
\n<p”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): apache 2
The operating system my web server runs on is (include version): ubuntu 16.04.5 LTS
My hosting provider, if applicable, is: hostnet
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 0.28.0
I can’t seem renew the certificate specifically for stichtingvanoosterhout.nl. The other domains work, and get renewed perfectly. After some searching I decided to delete everything for stichtingvanoosterhout.nl with certbot delete, and then let certbot create a new certificate. This results in the error shown above. I have removed the vhost file containing the https entries (thought I’d let certbot generate those again).
There are both A and AAAA records for the domain: 141.138.202.95 and 2a02:348:81:ca5f::1.
The contents of the vhost file for stichtingvanoosterhout.nl:
<VirtualHost 141.138.202.95:80>
ServerAdmin smeets@marksmeets.nl
ServerName stichtingvanoosterhout.nl
DocumentRoot “/var/www/svo”
CustomLog /var/log/apache2/svo_access common
RewriteEngine on
RewriteCond %{SERVER_NAME} =stichtingvanoosterhout.nl
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<VirtualHost 141.138.202.95:80>
ServerAdmin smeets@marksmeets.nl
ServerName www.stichtingvanoosterhout.nl
DocumentRoot “/var/www/svo”
CustomLog /var/log/apache2/svo_access common
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.stichtingvanoosterhout.nl [OR]
RewriteCond %{SERVER_NAME} =stichtingvanoosterhout.nl
RewriteRule ^ https://stichtingvanoosterhout.nl%{REQUEST_URI} [END,NE,R=permanent]
<Directory /var/www/svo>
AllowOverride All
Options All
Require all granted
DirectoryIndex index.php
the directory /var/www/svo has the following permissions:
drwxr-sr-x 5 www-data www-data 4096 Aug 25 10:10 .
Any help with this problem would be appreciated.