Skip to content

Commit

Permalink
Merge PR #3087: Fix gaia lite docs on REST server's SSL flags
Browse files Browse the repository at this point in the history
* Fix gaia lite docs on REST server's SSL flags

Closes: #3086

* Fix rest-server command call

Advanced was removed long ago
  • Loading branch information
alessio authored and cwgoes committed Dec 12, 2018
1 parent a31dc20 commit f5e0379
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/clients/lite/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To start a REST server, we need to specify the following parameters:
For example::

```bash
gaiacli advanced rest-server --chain-id=test \
gaiacli rest-server --chain-id=test \
--laddr=tcp://localhost:1317 \
--node tcp://localhost:26657 \
--trust-node=false
Expand All @@ -22,11 +22,11 @@ gaiacli advanced rest-server --chain-id=test \
The server listens on HTTPS by default. You can set the SSL certificate to be used by the server with these additional flags:

```bash
gaiacli advanced rest-server --chain-id=test \
gaiacli rest-server --chain-id=test \
--laddr=tcp://localhost:1317 \
--node tcp://localhost:26657 \
--trust-node=false \
--certfile=mycert.pem --keyfile=mykey.key
--ssl-certfile=mycert.pem --ssl-keyfile=mykey.key
```

If no certificate/keyfile pair is supplied, a self-signed certificate will be generated and its fingerprint printed out.
Expand Down

0 comments on commit f5e0379

Please sign in to comment.