Update README.md

This commit is contained in:
AJ ONeal 2015-12-16 01:16:09 -08:00
parent 33a923aee9
commit 84e9b06d60
1 changed files with 29 additions and 2 deletions

View File

@ -1,2 +1,29 @@
# node-letsencrypt-cli # letsencrypt-cli
CLI for node-letsencrypt modeled after the official client
CLI for node-letsencrypt modeled after the official client.
## Install
```bash
npm install -g letsencrypt-cli
```
## Usage
### Standalone
```bash
letsencrypt certonly \
--agree-tos --email john.doe@example.com \
--standalone \
--domains example.com,www.example.com
```
### WebRoot
```bash
letsencrypt certonly \
--agree-tos --email john.doe@example.com \
--webroot --webroot-path /srv/www/acme-challenge \
--domains example.com,www.example.com
```