SSLCertificateKeyFile: file '/etc/letsencrypt/live/glm-upport.fr/privkey.pem' does not exist or is empty

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: www.glm-support.fr

I ran this command: sudo systemctl status apache2

It produced this output:
apache2.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-12-18 08:34:31 UTC; 8s ago
Duration: 21h 44min 3.212s
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 10084 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 15ms

déc. 18 08:34:31 glpiserver systemd[1]: Starting apache2.service - The Apache HTTP Server...
déc. 18 08:34:31 glpiserver apachectl[10086]: AH00526: Syntax error on line 51 of /etc/apache2/sites-enabled/glm-support.fr.conf:
déc. 18 08:34:31 glpiserver apachectl[10086]: SSLCertificateKeyFile: file '/etc/letsencrypt/live/glm-upport.fr/privkey.pem' does not exist or is empty
déc. 18 08:34:31 glpiserver systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
déc. 18 08:34:31 glpiserver systemd[1]: apache2.service: Failed with result 'exit-code'.
déc. 18 08:34:31 glpiserver systemd[1]: Failed to start apache2.service - The Apache HTTP Server.

My web server is (include version): Apache 2.4.58 (Ubuntu) (Apache/2.4.58 (Ubuntu) Server at 10.69.203.12)
Server Built : 2024-10-02T12 :40 :51

The operating system my web server runs on is (include version): Ubuntu 20.04 LTS serveur

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 3.0.1

the files existe : But i only can acces it with root . I run this command : sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log


Found the following certs:
Certificate Name: glm-support.fr
Serial Number: 4b6abab7f3c38d3bcd3cd2e45ac94f06867
Key Type: ECDSA
Domains: glm-support.fr www.glm-support.fr
Expiry Date: 2025-03-18 06:38:06+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/glm-support.fr/fullchain.pem
Private Key Path: /etc/letsencrypt/live/glm-support.fr/privkey.pem


Please Help . I think it like some right issues. Ps : the certificate was created with cerbot certonly -apache

You've missed an s in the paths in your Apache configuration.

"upport" versus "support".

2 Likes

:face_with_monocle: thank's a lot, i need to change my glasses !!!!

2 Likes

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