![]() NOTE: You can use more than one domain (for example, DOMAIN and When supplying multiple domains, Lego creates a SAN (Subject Alternate Names) certificate which results in only one certificate valid for all domains you entered. $ sudo /opt/bitnami/letsencrypt/lego -tls -email="EMAIL-ADDRESS" -domains="DOMAIN" -domains="www.DOMAIN" -path="/opt/bitnami/letsencrypt" run IMPORTANT: Replace the DOMAIN placeholder with your actual domain name, and the EMAIL-ADDRESS placeholder with your email address. Request a new certificate for your domain as below, both with and without the www prefix. Turn off all Bitnami services: $ sudo /opt/bitnami/ctlscript.sh stop The next step is to generate a Let’s Encrypt certificate for your domain. If the Bitnami application host is behind a load balancer or CDN, the commands below require additional parameters, which can be provided by the Bitnami support team on request. ![]() NOTE: Before proceeding with this step, ensure that your domain name points to the public IP address of the Bitnami application host. Step 2: Generate a Let’s Encrypt certificate for your domain These steps will download, extract and copy the Lego client to a directory in your path. $ sudo mv lego /opt/bitnami/letsencrypt/lego $ curl -Ls | grep browser_download_url | grep linux_amd64 | cut -d '"' -f 4 | wget -i. Note that you will need to replace the X.Y.Z placeholder with the actual version number of the downloaded archive: $ cd /tmp Run the following commands to install the Lego client. ![]() Log in to the server console as the bitnami user. The Lego client simplifies the process of Let’s Encrypt certificate generation.
0 Comments
Leave a Reply. |