How to Renew Let’s Encrypt SSL Certificate Google Cloud Bitnami
Let’s Encrypt SSL is a free Certificate Authority (CA) that issues SSL certificate Google Cloud Bitnami. You can use these SSL certificates to secure traffic to and from your Bitnami application host.
This guide walks you through the process of generating a Let’s Encrypt SSL certificate for your domain and installing and configuring it to work with your Bitnami application stack.
This guide assumes that:
You have deployed a Bitnami application and the application is available at a public IP address so that the Let’s Encrypt process can verify your domain.
You have the necessary credentials to log in to the Bitnami application instance.
You own one or more domain names.
You have configured the domain name’s DNS record to point to the public IP address of your Bitnami application instance.
To launch the Bitnami HTTPS Configuration Tool, execute the following command and follow the prompts:
test ! -f "/opt/bitnami/common/bin/openssl" && echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation."
Step 1: Install The Lego Client
The Lego client simplifies the process of Let’s Encrypt certificate generation. To use it, follow these steps:
Log in to the server console as the bitnami user.
Run the following commands to install the Lego client. Note that you will need to replace the X.Y.Z placeholder with the actual version number of the downloaded archive:
curl -Ls https://api.github.com/repos/xenolf/lego/releases/latest | grep browser_download_url | grep linux_amd64 | cut -d '"' -f 4 | wget -i -
tar xf lego_vX.Y.Z_linux_amd64.tar.gz
sudo mkdir -p /opt/bitnami/letsencrypt
sudo mv lego /opt/bitnami/letsencrypt/lego Step 2: Generate A Let’s Encrypt Certificate For Your Domain
Turn off all Bitnami services:
sudo /opt/bitnami/ctlscript.sh stop
Request a new certificate for your domain as below, both with and without the www prefix.
sudo /opt/bitnami/letsencrypt/lego --tls --email="EMAIL-ADDRESS" --domains="18.104.22.168" --domains="22.214.171.124" --path="/opt/bitnami/letsencrypt" run
A set of certificates will now be generated in the /opt/bitnami/letsencrypt/certificates directory. This set includes the server certificate file DOMAIN.crt and the server certificate key file DOMAIN.key.
Step 5: Renew The Let’s Encrypt Certificate
Let’s Encrypt certificates are only valid for 90 days. To renew the certificate before it expires, run the following commands from the server console as the bitnami user. Remember to replace the DOMAIN placeholder with your actual domain name, and the EMAIL-ADDRESS placeholder with your email address.
Digital marketing can be defined by SEO XOOM is as marketing your product and service on any digital platform including Google Search, Social Media and Whats-app. Remember, online success comes from partnering with an experienced digital marketing company and choosing a mix of digital platforms that best suit your marketing goals.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.