This article describes how to use Let's Encrypt to automatically generate and install an SSL certificate on a semi-managed server.
Let's Encrypt is part of an initiative to encrypt as much World Wide Web traffic as possible. It is designed to make the creation and installation of SSL certificates a simple process that can be done with just a few commands.
To generate and install an SSL certificate, you must download and run the Let's Encrypt client application.
To install an SSL certificate using Let's Encrypt, follow these steps:
apt-get install git
To download the latest version of Let's Encrypt, type the following command:
git clone https://github.com/letsencrypt/letsencrypt
Type the following commands:
cd letsencrypt ./letsencrypt-auto
In the text box, type your domain name (for example, www.example.com) and then press Enter.
In the Enter email address text box, type an e-mail address where you can receive messages from Let's Encrypt, and then press Enter.
When installation is complete, you receive the following message:
Congratulations! You have successfully enabled https://www.example.com! You should test your configuration at: https://www.ssllabs.com/ssltest/analyze.html?d=www.example.com
Press Enter. The Let's Encrypt client displays configuration information about your installation before it exits.
For more information about Let's Encrypt, please visit https://letsencrypt.org.