Rpc.cert File Never Created

Discussion in 'Connectivity' started by anvoice, Feb 1, 2016.

Tags:
  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. anvoice

    anvoice Member

    Dec 22, 2015
    229
    78
    Male
    Hello,

    Bit of a problem in checking my wallet balance: the rpc.cert file never got created in the AppData\Local\Dcrwallet folder. Any idea what the cause and fix might be? Thank you.
     
  2. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    The cert is only created if the RPC server is started (which means a username and password must have been confiured) and you don't have TLS disabled.

    Are you running with --notls?
     
  3. anvoice

    anvoice Member

    Dec 22, 2015
    229
    78
    Male
    Yes, running the daemon with --notls (thought that's how it should go on Windows). When I try to check my balance, it reports that it cannot find the file specified, which is the rpc.cert which should be in AppData/Local/Dcrwallet. Indeed, it's not there, so I assumed it should have been created at some point during wallet construction.
     
  4. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    Ok, that would be why. If you're running with --notls, you have to also tell dcrctl to not use it.

    dcrctl --wallet --notls ... getbalance

    Also, for reference, the only reason the guides are setup to use notls is because the current cgminer windows binary doesn't support it. Everything else (dcrd, dcrwallet, dcrctl) supports it properly.

    The next set of cgminer binaries released will support it too (https://github.com/decred/cgminer/pull/6). At that point, there will be no reason to use --notls anymore.
     
  5. anvoice

    anvoice Member

    Dec 22, 2015
    229
    78
    Male
    Perfect, fixed!

    Thank you dave for the help. Now just to figure out why my mined coins aren't showing up.
     

Share This Page