Change default CA file location.

This changes the default CA filename from 'cert.pem' to 'btcd.cert' to
reflect the fact that this cert is used for securely connecting to
btcd.  With the introduction of autogenerated btcwallet certs (saved
to rpc.cert and rpc.key) this change was made to better differentiate
the two cert files.

To upgrade across this change, simply move the btcd cert.  On unix,
use the command:

$ mv ~/.btcwallet/cert.pem ~/.btcwallet/btcd.cert
This commit is contained in:
Josh Rickmar 2013-12-03 10:58:57 -05:00
parent 3b04e3a4bc
commit eeb72db8b5
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ $ btcd --testnet -u rpcuser -P rpcpass
```bash
$ mkdir ~/.btcwallet/
$ cp ~/.btcd/rpc.cert ~/.btcwallet/cert.pem
$ cp ~/.btcd/rpc.cert ~/.btcwallet/btcd.cert
```
- Run the following command to start btcwallet:

View file

@ -28,7 +28,7 @@ import (
)
const (
defaultCAFilename = "cert.pem"
defaultCAFilename = "btcd.cert"
defaultConfigFilename = "btcwallet.conf"
defaultDataDirname = "data"
defaultBtcNet = btcwire.TestNet3