Skip to content

Commit

Permalink
docs: add a section on using secure grpc connection
Browse files Browse the repository at this point in the history
  • Loading branch information
linki committed Jul 7, 2020
1 parent 64d27fd commit f08721a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ docker run -d --name eth2stats --restart always --network="host" \

You should now be able to see your node and it's stats on [eth2stats](https://eth2stats.io).

### Securing your gRPC connection to the Beacon Chain

If your Beacon node uses a TLS connection for its GRPC endpoint you need to provide a valid certificate to `eth2stats-client` via the `--beacon.tls-cert` flag:

```shell script
docker run -d --name eth2stats --restart always --network="host" \
-v ~/eth2stats/data:/data \
... # omitted for brevity
--beacon.type="prysm" --beacon.addr="localhost:4000" --beacon.tls-cert "/data/cert.pem"
```

Have a look at Prysm's documentation to learn [how to start their Beacon Chain with enabled TLS](https://docs.prylabs.network/docs/prysm-usage/secure-grpc) and how to [generate and use self-signed certificates](https://docs.prylabs.network/docs/prysm-usage/secure-grpc#generating-self-signed-tls-certificates).

## Building from source
### Prerequisites
Expand Down

0 comments on commit f08721a

Please sign in to comment.