From 6f90c5d1e6a186060a7bccd56c3a4f1ee1e6c591 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 Feb 2016 18:16:37 -0700 Subject: [PATCH] Update README.md --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9428d58..1256045 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ npm install --save letsencrypt-express * http / http2 * koa -### Setup +### Setup (same for all examples) ```javascript 'use strict'; @@ -47,9 +47,7 @@ var lex = LEX.create({ }); ``` -**WARNING**: If you don't do any checks and simply complete `approveRegistration` callback, an attacker will spoof SNI packets with bad hostnames and that will cause you to be rate-limited and or blocked from the ACME server. - -Alternatively, You can run **registration** manually: +WARNING: If you don't do any checks and simply complete `approveRegistration` callback, an attacker will spoof SNI packets with bad hostnames and that will cause you to be rate-limited and or blocked from the ACME server. Alternatively, You can run registration *manually*: ```bash npm install -g letsencrypt-cli @@ -57,10 +55,10 @@ npm install -g letsencrypt-cli letsencrypt certonly --standalone \ --config-dir ~/letsencrypt/etc \ --agree-tos --domains example.com --email user@example.com + +# Note: the '--webrootPath' option is also available if you don't want to shut down your webserver to get the cert. ``` -Note: the `--webrootPath` option is also available if you don't want to shut down your webserver to get the cert. - ### Standalone ```javascript