Renewing Bitnami’s Let’sEncrypt SSL Certificate

Home / Blogs / Renewing Bitnami’s Let’sEncrypt SSL Certificate

I use Bitnami wordpress and it comes with built in Let’sEncrypt SSL option for secured website. Previously I used to install this Let’sEncrypt independently, but in past few years this free SSL certificate comes preinstalled in Bitnami image.

Recently, the certificate got expired and I found this thread with simple steps below to renew it

Step 1: Stop the running script

Run below command to stop the running script.

sudo /opt/bitnami/ctlscript.sh stop

I couldn’t find the ./opt/ folder, so I went inside

./stack/ctlscript.sh

Step 2: Update the certificate

Run the below script with correct EMAIL-ADDRSS and DOMAIN (xyz.com) to which you need the certificate.

sudo /opt/bitnami/letsencrypt/lego --tls --email="EMAIL-ADDRESS" --domains="DOMAIN" --path="/opt/bitnami/letsencrypt" renew --days 90 

Step 3: Restart the script

Finally start the server with the command below.

sudo /opt/bitnami/ctlscript.sh start

Leave a Reply

Your email address will not be published.

%d bloggers like this: