Good
I am having the same problem as some other users. I have only been able to renew the mail certificate.
I provide the following data.
I tried to disable the https, the file list and removed the custom 404 web.
My domain is:
sorienrot.es
I ran this command:
certbot renew
It produced this output:
root@sorienrot:~# certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/mail.sorienrot.es.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not yet due for renewal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/sorienrot.es.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator apache, Installer apache
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for sorienrot.es
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (sorienrot.es) from /etc/letsencrypt/renewal/sorienrot.es.conf produced an unexpected error: Failed authorization procedure. sorienrot.es (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://sorienrot.es/.well-known/acme-challenge/Yr3fMaGMfzbp9MSAxi8281Bu0KMTzmhMMeNlWYfuBqI [164.132.204.91]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p". Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/sorienrot.es/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following certs are not due for renewal yet:
/etc/letsencrypt/live/mail.sorienrot.es/fullchain.pem expires on 2019-06-29 (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/sorienrot.es/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: sorienrot.es
Type: unauthorized
Detail: Invalid response from
http://sorienrot.es/.well-known/acme-challenge/Yr3fMaGMfzbp9MSAxi8281Bu0KMTzmhMMeNlWYfuBqI
[164.132.204.91]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\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):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2019-04-03T13:22:37
The operating system my web server runs on is (include version):
Ubuntu 18.04.1 LTS
Linux ubuntu 4.15.0-44-generic #47-Ubuntu SMP Mon Jan 14 11:26:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
My hosting provider, if applicable, is:
OVH Dedicated Server
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):
root@sorienrot:~# certbot --version
certbot 0.31.0
Extra information
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
<Directory "/var/www/html">
AllowOverride All
</Directory>
root@sorienrot:~# apache2ctl -M | grep rewrite
rewrite_module (shared)
root@sorienrot:~# grep -ri 'sorienrot.es' /etc/apache2/*
/etc/apache2/sites-available/mail.sorienrot.es-le-ssl.conf: ServerName mail.sorienrot.es
/etc/apache2/sites-available/mail.sorienrot.es-le-ssl.conf: DocumentRoot /var/www/mail.sorienrot.es
/etc/apache2/sites-available/mail.sorienrot.es-le-ssl.conf:SSLCertificateFile /etc/letsencrypt/live/mail.sorienrot.es/fullchain.pem
/etc/apache2/sites-available/mail.sorienrot.es-le-ssl.conf:SSLCertificateKeyFile /etc/letsencrypt/live/mail.sorienrot.es/privkey.pem
/etc/apache2/sites-available/sorienrot.es-le-ssl.conf: ServerName sorienrot.es
/etc/apache2/sites-available/sorienrot.es-le-ssl.conf: ServerAdmin soporte@sorienrot.es
/etc/apache2/sites-available/sorienrot.es-le-ssl.conf:# RewriteCond %{SERVER_NAME} =sorienrot.es
/etc/apache2/sites-available/sorienrot.es-le-ssl.conf:SSLCertificateFile /etc/letsencrypt/live/sorienrot.es/fullchain.pem
/etc/apache2/sites-available/sorienrot.es-le-ssl.conf:SSLCertificateKeyFile /etc/letsencrypt/live/sorienrot.es/privkey.pem
/etc/apache2/sites-available/sorienrot.es.conf: ServerName sorienrot.es
/etc/apache2/sites-available/sorienrot.es.conf: ServerAdmin soporte@sorienrot.es
/etc/apache2/sites-available/sorienrot.es.conf:RewriteCond %{SERVER_NAME} =sorienrot.es
/etc/apache2/sites-available/mail.sorienrot.es.conf: ServerName mail.sorienrot.es
/etc/apache2/sites-available/mail.sorienrot.es.conf: DocumentRoot /var/www/mail.sorienrot.es
/etc/apache2/sites-available/mail.sorienrot.es.conf:RewriteCond %{SERVER_NAME} =mail.sorienrot.es
/etc/apache2/sites-available/default-ssl.conf: SSLCertificateFile /etc/letsencrypt/live/sorienrot.es/fullchain.pem
/etc/apache2/sites-available/default-ssl.conf: SSLCertificateKeyFile /etc/letsencrypt/live/sorienrot.es/privkey.pem
root@sorienrot:~# apache2ctl configtest
Syntax OK
root@sorienrot:~#