From 94bea192db91d84be5a35d713212b6e27b705737 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 15 Dec 2015 20:18:01 -0800 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index fa9b98f..ee466f0 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ You will follow these steps to obtain certificates: * implement a method to get the challenge token as `getChallenge` * implement a method to remove the challenge token as `removeChallenge` +#### Register Account & Domain + ```javascript 'use strict'; @@ -85,6 +87,8 @@ LeCore.getAcmeUrls( ); ``` +#### Run a Server on 80, 443, and 5001 (https/tls) + That will fail unless you have a webserver running on 80 and 443 (or 5001) to respond to `/.well-known/acme-challenge/xxxxxxxx` with the proper token @@ -107,6 +111,8 @@ http.createServer() Finally, you need an implementation of `challengeStore`: +#### Put some storage in place + ```javascript var challengeCache = {}; var challengeStore = {