![]() Sudo ln -s /etc/lego/certificates/DOMAIN.key /opt/bitnami/apache2/conf/server.key Sudo mv /opt/bitnami/apache2/conf/server.csr /opt/bitnami/apache2/conf/ Sudo mv /opt/bitnami/apache2/conf/server.key /opt/bitnami/apache2/conf/ Sudo mv /opt/bitnami/apache2/conf/server.crt /opt/bitnami/apache2/conf/ Remember to replace the DOMAIN placeholder with your actual domain name.For Apache: Update the file permissions to make them readable by the root user only. Link the new SSL certificate and certificate key file to the correct locations, depending on which Web server you’re using.Next, tell the Web server about the new certificate, as follows: Step 3: Configure The Web Server To Use The Let’s Encrypt Certificate Note this expiry date carefully as you will need to renew your certificate before that date in order for it to remain valid. This set includes the server certificate file DOMAIN.crt and the server certificate key file DOMAIN.key.Īn output message will provide some information, including the expiry date of the certificate. hostname=”_acme-challenge” txt_string=”-k3PQXqcjAcYY6vx1sjmYKnC4S3K7TVko-juLRf9SXc”Ī set of certificates will now be generated in the /etc/lego/certificates directory. NOTE: Result will display the TXT hostname and VALUE to be setup in your DNS. ![]() Sudo lego -dns manual -email="EMAIL-ADDRESS" -domains="*.DOMAIN" -path="/etc/lego" -a run Run the following command to obtain the required DNS values:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |