Update README.md
This commit is contained in:
parent
44c1458fe1
commit
eeee7f779c
15
README.md
15
README.md
|
@ -24,13 +24,23 @@ npm install -g letsencrypt-cli
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
These commands are shown using the **testing server**.
|
||||||
|
|
||||||
|
When you want to use the **live server**,
|
||||||
|
simply remove the `--server https://acme-staging.api.letsencrypt.org/directory`
|
||||||
|
or change it to `--server https://acme-v01.api.letsencrypt.org/directory`.
|
||||||
|
|
||||||
|
**Note**: This has really only been tested with single domains so if
|
||||||
|
multiple domains doesn't work for you, file a bug.
|
||||||
|
|
||||||
### Standalone
|
### Standalone
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
letsencrypt certonly \
|
letsencrypt certonly \
|
||||||
--agree-tos --email john.doe@example.com \
|
--agree-tos --email john.doe@example.com \
|
||||||
--standalone \
|
--standalone \
|
||||||
--domains example.com,www.example.com
|
--domains example.com,www.example.com \
|
||||||
|
--server https://acme-staging.api.letsencrypt.org/directory
|
||||||
```
|
```
|
||||||
|
|
||||||
### WebRoot
|
### WebRoot
|
||||||
|
@ -39,7 +49,8 @@ letsencrypt certonly \
|
||||||
letsencrypt certonly \
|
letsencrypt certonly \
|
||||||
--agree-tos --email john.doe@example.com \
|
--agree-tos --email john.doe@example.com \
|
||||||
--webroot --webroot-path /srv/www/acme-challenge \
|
--webroot --webroot-path /srv/www/acme-challenge \
|
||||||
--domains example.com,www.example.com
|
--domains example.com,www.example.com \
|
||||||
|
--server https://acme-staging.api.letsencrypt.org/directory
|
||||||
```
|
```
|
||||||
|
|
||||||
## Command line Options
|
## Command line Options
|
||||||
|
|
Loading…
Reference in New Issue