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
Ajay is a professional developer and architect of NI-LabVIEW applications with extreme interest in getting the hardware connected to LabVIEW and automating the stuff. Recently he is also putting his hands in NI-TestStand to get very dirty on it. He is also a good mentor for the various interns in his career. He is ready to help the people in techie roles.