From c71644815a1b514ed0ccd656659324ad8d199de4 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 22 Nov 2013 11:53:41 -0500 Subject: [PATCH] Document the need to copy btcd's certificate. --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fdeb321..02650fe 100644 --- a/README.md +++ b/README.md @@ -73,10 +73,25 @@ want btcd and btcwallet running. ### Linux/BSD/POSIX/Source -- Run the following commands to start btcd and btcwallet: +- Run the following command to start btcd: ```bash $ btcd --testnet -u rpcuser -P rpcpass +``` + +- Copy btcd's autogenerated rpc.cert to ~/.btcwallet/ so btcwallet can + securely communicate with btcd over a TLS-encrypted websocket. This + step is only necessary for the first time starting btcwallet or if + btcd's autogenerated cert and key are removed and regenerated. + +```bash +$ mkdir ~/.btcwallet/ +$ cp ~/.btcd/rpc.cert ~/.btcwallet/cert.pem +``` + +- Run the following command to start btcwallet: + +```bash $ btcwallet -u rpcuser -P rpcpass ```