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: suhozid.hr
I ran this command: apachectl stop
It produced this output:
AH00526: Syntax error on line 53 of /etc/apache2/sites-enabled/suhozid.hr-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/suhozid.hr-0001/fullchain.pem' does not exist or is empty
Action 'stop' failed.
The Apache error log may have more information.
My web server is (include version): Apache 2.4.52
The operating system my web server runs on is (include version): Ubuntu 22.04
My hosting provider, if applicable, is: AWS
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): 2.10.0
upon running: sudo certbot certificates, I got:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Found the following certs:
Certificate Name: suhozid.hr-0001
Serial Number: 4881982c1e052fe7dcf3e326e8f97bc5b2d
Key Type: ECDSA
Domains: suhozid.hr
Expiry Date: 2024-07-24 12:24:15+00:00 (VALID: 88 days)
Certificate Path: /etc/letsencrypt/live/suhozid.hr-0001/fullchain.pem
Private Key Path: /etc/letsencrypt/live/suhozid.hr-0001/privkey.pem
Certificate Name: suhozid.hr
Serial Number: 37177c633d535a7ce3051632eabe2277538
Key Type: ECDSA
Domains: suhozid.hr www.suhozid.hr
Expiry Date: 2024-07-11 11:56:05+00:00 (VALID: 75 days)
Certificate Path: /etc/letsencrypt/live/suhozid.hr/fullchain.pem
Private Key Path: /etc/letsencrypt/live/suhozid.hr/privkey.pem
Certificate Name: www.suhozid.hr
Serial Number: 3c98780c83d4ba5a8fcb851c4b502c919ef
Key Type: ECDSA
Domains: www.suhozid.hr
Expiry Date: 2024-07-24 12:54:41+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/www.suhozid.hr/fullchain.pem
Private Key Path: /etc/letsencrypt/live/www.suhozid.hr/privkey.pem
the .conf file:
<IfModule mod_ssl.c>
<VirtualHost *:443>
WSGIApplicationGroup %{GLOBAL}
# WSGIDaemonProcess arches python-path=/home/ubuntu/suhozid
WSGIProcessGroup arches
# WSGIScriptAlias / /home/ubuntu/suhozid/suhozid/wsgi.py process-group=arches
# May be necessary to support integration with possible 3rd party mobile apps
WSGIPassAuthorization on
## Uncomment the ServerName directive and fill it with your domain
## or subdomain if/when you have your DNS records configured.
ServerName suhozid.hr
<Directory /home/ubuntu/suhozid/>
Require all granted
</Directory>
# This section tells Apache where to find static files. This example uses
# STATIC_URL = '/media/' and STATIC_ROOT = os.path.join(APP_ROOT, 'static')
# NOTE: omit this section if you are using S3 to serve static files.
Alias /static/ /home/ubuntu/suhozid/suhozid/static/
<Directory /home/ubuntu/suhozid/suhozid/static/>
Require all granted
</Directory>
# This section tells Apache where to find uploaded files. This example uses
# MEDIA_URL = '/files/' and MEDIA_ROOT = os.path.join(APP_ROOT)
# NOTE: omit this section if you are using S3 for uploaded media
Alias /files/uploadedfiles/ /home/ubuntu/suhozid/suhozid/uploadedfiles/
<Directory /home/ubuntu/suhozid/suhozid/uploadedfiles/>
Require all granted
</Directory>
ServerAdmin ydrea.wrld@gmail.com
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
# Recommend changing these file names if you have multiple arches
# installations on the same server.
ErrorLog /var/log/apache2/error-arches.log
CustomLog /var/log/apache2/access-arches.log combined
ServerName suhozid.hr
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/suhozid.hr-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/suhozid.hr-0001/privkey.pem
</VirtualHost>
</IfModule>
the relevant log bit:
2024-04-12 12:55:57,789:DEBUG:urllib3.connectionpool:Resetting dropped connection: acme-v02.api.letsencrypt.org
2024-04-12 12:55:58,303:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201
473
2024-04-12 12:55:58,304:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Date: Fri, 12 Apr 2024 12:55:58 GMT
Content-Type: application/json
Content-Length: 473
Connection: keep-alive
Boulder-Requester: 1668088907
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Location: https://acme-v02.api.letsencrypt.org/acme/order/1668088907/260305912577
Replay-Nonce: 41Xn7Ejc8ygAyqcCYoOWePK69Kodtfiv_F4XXPHqdISCyloXcQc
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800