Por favor, complete los campos del siguiente formulario para que podamos ayudarle de la mejor forma posible. Nota: debe proporcionar su nombre de dominio para obtener ayuda. Los nombres de dominio de los certificados emitidos se hacen públicos en los registros de Transparencia de Certificados (por ejemplo, crt.sh | example.com), por lo que esconder aquí su nombre de dominio no sirve de nada, únicamente nos dificulta prestarle la ayuda solicitada.
Puedo leer las respuestas en Inglés (sí o no):
Si
Mi dominio es: casaroca.org
Ejecuté este comando:
sudo certbot renew --dry-run
Produjo esta salida:
The following certs could not be renewed:
/etc/letsencrypt/live/casaroca.org/fullchain.pem (failure)
Mi servidor web es (incluya la versión):
Apache
El sistema operativo en el que se ejecuta mi servidor web es (incluya la versión):
Debian 10
Mi proveedor de alojamiento web (si aplica) es:
GCP
Puedo iniciar una sesión en una shell root en mi servidor (sí, no o no lo sé):
Si
Estoy usando un panel de control para administrar mi sitio (no o proporcione el nombre y la versión del panel de control):
La versión de mi cliente es (por ejemplo, si usa certbot, muestre la salida de certbot --version o certbot-auto --version): Certbot
Attempting to parse the version 1.22.0 renewal configuration file found at /etc/letsencrypt/renewal/casaroca.org.conf with version 0.31.0 of Certbot. This might not work.
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for www.casaroca.org
http-01 challenge for casaroca.org
Cleaning up challenges
Attempting to renew cert (casaroca.org) from /etc/letsencrypt/renewal/casaroca.org.conf produced an unexpected error: Missing command line flag or config entry for this setting:
Input the webroot for www.casaroca.org:. Skipping.
Cert not yet due for renewal
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/casaroca.org/fullchain.pem (failure)
The following certs are not due for renewal yet:
/etc/letsencrypt/live/casaroca.org-0001/fullchain.pem expires on 2023-02-15 (skipped)
/etc/letsencrypt/live/donaciones.casaroca.org/fullchain.pem expires on 2023-02-15 (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/casaroca.org/fullchain.pem (failure)
#AH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/casaroca.site/fullchain.pem' does not exist or is empty
Action '-t -D DUMP_VHOSTS' failed.
The Apache error log may have more information.
root@instance-1:~# sudo apachectl -t -D DUMP_VHOSTS
AH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/casaroca.site/fullchain.pem' does not exist or is empty
Action '-t -D DUMP_VHOSTS' failed.
The Apache error log may have more information.
hmm...
Looks like some files were deleted manually.
Show: ls -l /etc/letsencrypt/live/casaroca.site/* ls -l /etc/letsencrypt/live/* ls -l /etc/apache2/sites-enabled/* ls -l /etc/apache2/sites-available/*
<IfModule mod_ssl.c>
<VirtualHost *:443>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
ServerName casaroca.site
Include /etc/letsencrypt/options-ssl-apache.conf
ServerAlias www.casaroca.site
SSLCertificateFile /etc/letsencrypt/live/casaroca.site/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/casaroca.site/privkey.pem
</VirtualHost>
</IfModule>