Ssl error cert-date-invalid

Found the following certs:
Certificate Name: willbode.com
Domains: willbode.com www.willbode.com
Expiry Date: 2020-05-31 13:08:35+00:00 (VALID: 74 days)
Certificate Path: /etc/letsencrypt/live/willbode.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/willbode.com/privkey.pem


There is no -0001 directory in your case.
The folder structure and file names should be identical to when you last inserted them.

ok… It seems like it had opened up the cert in chrome when I got the Apache default screen…

Let’s try finding the Bitnami configuration file:
sudo find / -name bitnami.conf
[to confirm which files and location it uses]

/opt/bitnami/apache2/conf/bitnami/bitnami.conf
/opt/bitnami/config/monit/bitnami.conf
/opt/bitnami/config/logrotate/bitnami.conf
/opt/bitnami/bnsupport/original-data/apache2/conf/bitnami/bitnami.conf
/etc/logrotate.d/bitnami.conf

Please show this file:

how do I show the file? sudo /opt/bitnami/apache2/conf/bitnami/bitnami.conf

use more or cat
cat /opt/bitnami/apache2/conf/bitnami/bitnami.conf

DocumentRoot "/opt/bitnami/apache2/htdocs" SSLEngine on SSLCertificateFile "/opt/bitnami/apache2/conf/willbode.com.crt" SSLCertificateKeyFile "/opt/bitnami/apache2/conf/willbode.com.key"

<Directory “/opt/bitnami/apache2/htdocs”>
Options Indexes FollowSymLinks
AllowOverride All
<IfVersion < 2.3 >
Order allow,deny
Allow from all

= 2.3 >
Require all granted

Error Documents

ErrorDocument 503 /503.html

Bitnami applications installed with a prefix URL (default)

Include “/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf”

Bitnami applications that uses virtual host configuration

Include “/opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf”

Status

ExtendedStatus on

ServerName local-stackdriver-agent.stackdriver.com
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1

Should be:

SSLCertificateFile "/etc/letsencrypt/live/willbode.com/fullchain.pem" 
SSLCertificateKeyFile "/etc/letsencrypt/live/willbode.com/privkey.pem"

how do I change them?

Your guide appears to be lacking… synchronization.

You will need to edit the file manually.
There are several different Linux editors:
VI
NANO
ATOM
PICO
GEDIT
KWRITE

You should familiarize yourself with at least one of them.

I have to go. I hope I will figure it out. I really appreciate your help! I will dash you a tip when I can. Thanks!

1 Like

You can send me a drink at: beer4.work

1 Like

nice… I owe you a beer. I just edited it in Bitnami’s nano editor and restarted apache. Looks like it worked!

1 Like

Now it should directly reference the file(s) that change on renewals.
Sit back and watch it all just work - LOL

EDIT: On second thought…
You might still have the issue where Bitnami needs to restart after each successful renewal.
And we did have some trouble with making that part “work”.
That part needs to be more “seamless” and integrated into the renewal process.

Live and learn. I appreciate your time. Thanks for the effort! I will hit you up for a beer soon. cheers Bro.

1 Like

image

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