From 1f1b0d7ebc3185b020064522de996682ff386867 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 12 Dec 2015 22:45:21 -0800 Subject: [PATCH] rearrange --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2418a66..39d0d46 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,21 @@ than what makes sense to show in a minimal snippet. node examples/commandline.js example.com,www.example.com user@example.net agree ``` +* [expressjs (fully automatic https)](https://github.com/Daplie/node-letsencrypt/blob/master/examples/express.js) + ```bash +# clear out the certificates +rm -rf tests/letsencrypt.* + # automatic registration and renewal (certs install as you visit the site for the first time) # (runs against testing server on tls port 5001) -node examples/commandline.js example.com,www.example.com user@example.net agree +node examples/express.js example.com,www.example.com user@example.net agree ``` -* [expressjs (fully automatic https)](https://github.com/Daplie/node-letsencrypt/blob/master/examples/express.js) +```bash +# this will take a moment because it won't respond to the tls sni header until it gets the certs +curl https://example.com/ +``` ### non-root