From 41d9cdbc3ce6bb84d660eb7eccd6b2fc6f9c857e Mon Sep 17 00:00:00 2001 From: Denny Dai Date: Sun, 6 Dec 2015 13:59:33 +0800 Subject: [PATCH] add README --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..aaa941e --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# Docker-LetsEncrypt + +Easily get your "Let's Encrypt" SSL Certificates + +**PLEASE READ THE SOURCE CODE! YOU MUST TRUST IT WITH YOUR PRIVATE KEYS!** + +## How to use this script +You need openssl, docker and docker-compose first. Then follow the steps below. +### Step 1: Create a Let's Encrypt account private key (if you haven't already) + +You must have a public key registered with Let's Encrypt and sign your requests +with the corresponding private key. If you don't understand what I just said, +this script likely isn't for you! Please use the official Let's Encrypt +[client](https://github.com/letsencrypt/letsencrypt). + +``` +openssl genrsa 4096 > account.key +``` +### Step 2: Copy account.key to docker-letsencrypt/ +You know how to do it. :) +### Step 3: Create Your key and Cert +``` +sh cert.sh +``` + +Then you can find your key and cert in docker-lesencrypt/certs/ +####Have fun :) \ No newline at end of file