Created
June 3, 2016 09:01
-
-
Save savelee/9b107657b1c46ede0d3a46bb5f2a6bda to your computer and use it in GitHub Desktop.
Digital Ocean - Install a free SSL certificate on Ubuntu with Apache.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. First stop your droplet, and make a snapshot. | |
2. Login to you droplet | |
ssh root@<ip> | |
3. Go to https://certbot.eff.org/, select the setup for example Apache on Ubuntu 14 | |
This will give you the instructions | |
These are the instructions for Ubuntu 14, with Apache. | |
We will install Certbot: | |
5. wget https://dl.eff.org/certbot-auto | |
6. chmod a+x certbot-auto | |
7. ./certbot-auto --apache | |
The last step, is also the step that you can take to renew your certificate. | |
To add multiple certs to various domains on the same server run: | |
./certbot-auto --apache -d example.com -d www.example.com -d other.example.net | |
It will ask you which config file to use. Choose the 3rd option, which already contains configuration. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment