Created
November 20, 2017 10:51
-
-
Save akvsh-r/85f80a63bb050a708e9e2d10469b6616 to your computer and use it in GitHub Desktop.
Steps to install ssl on linux using certbot
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
First you need to clone the repo | |
git clone https://github.com/letsencrypt/letsencrypt | |
cd letsencrypt | |
Now we are going to create a certificate | |
NGINX | |
./letsencrypt-auto certonly --rsa-key-size 4096 | |
Now, please follow the instructions. When it's finished you will be able to find the certificate, chain and key at /etc/letsencrypt/live/domain | |
Apache | |
./letsencrypt-auto --apache --rsa-key-size 4096 | |
Now, please follow the instructions. Let's Encrypt will install the certificate automatically. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment