Generate And Install A Let’s Encrypt SSL Certificate For A Bitnami Application

Referencehttps://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/

Uses Let’s Encrypt which is a free Certificate Authority (CA) that issues SSL certificates. You can use these SSL certificates to secure traffic to and from your Bitnami application host.

Renewing Certificate

Let’s Encrypt certificates are only valid for 90 days. There is a cronjob for root which should renew the cert on the 1st day of each month.

To run the renew script manually

sudo /etc/lego/renew-certificate.sh

Adding Domain to Certificate

  1. edit /etc/lego/renew-certificate.sh
  2. Add new –domain
  3. sudo /opt/bitnami/ctlrscript.sh stop
  4. Run the command from renew-certificate.sh, BUT replace renew with run at the end
  5. sudo /opt/bitnami/ctltscript.sh start

Leave a Reply

Your email address will not be published.