Certificate Issued but not working

My domain is: regencyshutter.com

I ran this command: apachectl -t -D DUMP_VHOSTS

It produced this output:
VirtualHost configuration:
*:80 regencyshutter.com (/opt/bitnami/apache2/conf/bitnami/bitnami.conf:8)
*:443 regencyshutter.com (/opt/bitnami/apache2/conf/bitnami/bitnami.conf:63)

My web server is (include version): Apache2
Server version: Apache/2.4.39 (Unix)
Server built: Jul 22 2019 11:40:56

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

My hosting provider, if applicable, is: aws lightsail

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):

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

Certificate Name: regencyshutter.com
Domains: regencyshutter.com
Expiry Date: 2022-08-14 19:13:50+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/regencyshutter.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/regencyshutter.com/privkey.pem

I did cp to /opt/bitnami/letsencrypt/certificates/server.crt and /opt/bitnami/letsencrypt/certificates/server.key

I configured the web server and restart

SSLCertificateFile "/opt/bitnami/letsencrypt/certificates/server.crt"
SSLCertificateKeyFile "/opt/bitnami/letsencrypt/certificates/server.key"

What could be wrong?

The certificate file your service is currently using is the expired one. Double check your source files to ensure they are recently updated.

1 Like

I see:

You should use their tool for cert renewals.


Many people have had problems with Lightsail and bitnami by following poor guides. Some of those guides are even in AWS docs.

You should instead use bncert tool for bitnami. There are numerous threads in this forum about it. You could start by following the links in this post


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