I've been trying to setup a Full node on Ubuntu 14. When running the command: ./dcrctl -u username -P password --wallet getnewaddress It says: Post https://localhost:9110: x509: certificate signed by unknown authority In another terminal window I have the following command running: ./dcrwallet --username username --password password --dcrdusername=username2 --dcrdpassword=password2 In the monitor window it states the following in the log: 2016/05/18 11:51:36 http: TLS handshake error from 127.0.0.1:47105: remote error: bad certificate To fix the issue I have attempted to try the following: sudo -i cp /home/user/.dcrd/rpc.cert /usr/share/ca-certificates/dcrd.crt echo dcrd.crt >> /etc/ca-certificates.conf update-ca-certificates exit But still did not help. Thank you in advance.
I have also attempted the following but no lock: sudo -i cp /home/user/.dcrwallet/rpc.cert /usr/share/ca-certificates/dcrwallet.crt echo dcrwallet.crt >> /etc/ca-certificates.conf update-ca-certificates exit
Even executing the command ./dcrctl -u password2 -P password2 --wallet walletpassphrase password 0 produces the same error messages above.
Finally fixed the issue: I needed to ttell dcrctl where the cert file was so I ran the following: ./dcrctl -u username -P password --wallet getnewaddress --rpccert=/home/user/.dcrd/rpc.cert hope it helps everyone else
I hit that issue before as well with dcrticketbuyer I think. The problem may be that the default values are displayed in help, but they are not used as such. I think @ceejep corrected it, may be other devs like @jy-p or @_ingsoc can help. The resolution is (as you said) to use the flag in command line as is printed with --help.
I'm still running into this problem on Ubuntu. It looks like it's readying the right rpc.cert but it says: Post https://localhost:19110: x509: certificate signed by unknown authority
You might want to setup again from scratch using dcrinstall. That should get your config files all working properly in the first place. https://docs.decred.org/getting-started/install-guide/#dcrinstall