Error on line 34 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: criptomonedavictoria.com

I ran this command: sudo certbot -d criptomoedavictoria.com -d www.criptomonedavictoria.com

It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.

AH00526: Syntax error on line 34 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/www.criptomonedavictoria.com/fullchain.pem' does not exist or is empty

Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "certbot certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.

My web server is (include version): Apache 2

The operating system my web server runs on is (include version): Ubuntu 18.4

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Hi @SistemasDZW, and welcome to the LE community forum :slight_smile:

You need to get Apache back to a working state.
I'd state by removing the section that is trying to use that missing file:

Then review any remaining certs, with:
certbot certificates
And the names being serviced by Apache, within the file found with:
apachectl -t -D DUMP_VHOSTS

Also, I don't know how you obtained the last cert behind a loadbalancer:

Name:      criptomonedavictoria.com
Addresses: 3.33.152.147
           15.197.142.173
           95.217.218.211
Aliases:   www.criptomonedavictoria.com
3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.