Update 'README.md'
This commit is contained in:
parent
6487df49f9
commit
b65fd583d8
37
README.md
37
README.md
|
@ -1,27 +1,12 @@
|
|||
<!-- BANNER_TPL_BEGIN -->
|
||||
# greenlock-hapi
|
||||
|
||||
About Daplie: We're taking back the Internet!
|
||||
--------------
|
||||
(previously letsencrypt-hapi)
|
||||
|
||||
Down with Google, Apple, and Facebook!
|
||||
|
||||
We're re-decentralizing the web and making it read-write again - one home cloud system at a time.
|
||||
|
||||
Tired of serving the Empire? Come join the Rebel Alliance:
|
||||
|
||||
<a href="mailto:jobs@daplie.com">jobs@daplie.com</a> | [Invest in Daplie on Wefunder](https://daplie.com/invest/) | [Pre-order Cloud](https://daplie.com/preorder/), The World's First Home Server for Everyone
|
||||
|
||||
<!-- BANNER_TPL_END -->
|
||||
|
||||
# greenlock-hapi (letsencrypt-hapi)
|
||||
|
||||
[![Join the chat at https://gitter.im/Daplie/letsencrypt-express](https://badges.gitter.im/Daplie/letsencrypt-express.svg)](https://gitter.im/Daplie/letsencrypt-express?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
| [greenlock (lib)](https://git.daplie.com/Daplie/node-greenlock)
|
||||
| [greenlock-cli](https://git.daplie.com/Daplie/greenlock-cli)
|
||||
| [greenlock-express](https://git.daplie.com/Daplie/greenlock-express)
|
||||
| [greenlock-cluster](https://git.daplie.com/Daplie/greenlock-cluster)
|
||||
| [greenlock-koa](https://git.daplie.com/Daplie/greenlock-koa)
|
||||
| [greenlock (lib)](https://git.coolaj86.com/coolaj86/greenlock.js)
|
||||
| [greenlock-cli](https://git.coolaj86.com/coolaj86/greenlock-cli.js)
|
||||
| [greenlock-express](https://git.coolaj86.com/coolaj86/greenlock-express.js)
|
||||
| [greenlock-cluster](https://git.coolaj86.com/coolaj86/greenlock-cluster.js)
|
||||
| [greenlock-koa](https://git.coolaj86.com/coolaj86/greenlock-koa.js)
|
||||
| **greenlock-hapi**
|
||||
|
|
||||
|
||||
|
@ -49,7 +34,9 @@ npm install --save greenlock-express@2.x
|
|||
'use strict';
|
||||
|
||||
var le = require('greenlock-express').create({
|
||||
server: 'staging' // in production use https://acme-v01.api.letsencrypt.org/directory
|
||||
// You MUST change this to 'https://acme-v02.api.letsencrypt.org/directory' in production
|
||||
server: 'https://acme-staging-v02.api.letsencrypt.org/directory'
|
||||
, version: 'draft-11' // Let's Encrypt v2
|
||||
|
||||
, configDir: require('os').homedir() + '/letsencrypt/etc'
|
||||
|
||||
|
@ -74,8 +61,8 @@ Alternatively, You can run registration *manually*:
|
|||
npm install -g greenlock-cli
|
||||
|
||||
greenlock certonly --standalone \
|
||||
--server 'https://acme-v01.api.letsencrypt.org/directory' \
|
||||
--config-dir ~/letsencrypt/etc \
|
||||
--server 'https://acme-v02.api.letsencrypt.org/directory' \
|
||||
--config-dir ~/acme/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.
|
||||
|
|
Loading…
Reference in New Issue