Skip to content

Instantly share code, notes, and snippets.

@akvsh-r
Created November 20, 2017 10:51
Show Gist options
  • Save akvsh-r/85f80a63bb050a708e9e2d10469b6616 to your computer and use it in GitHub Desktop.
Save akvsh-r/85f80a63bb050a708e9e2d10469b6616 to your computer and use it in GitHub Desktop.
Steps to install ssl on linux using certbot
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