You’re getting there! Those three commands did the following:
- Created a new Bitcoin address and assigned it to the shell variable called
- Opened the file
/etc/cert-issuer/conf.ini and replaced the string
<issuing-address> with the value in the
issuer shell variable.
- Emitted the private key associated to the Bitcoin address into a text file called
If you look at the contents of the conf.ini file, you should see that it has a Bitcoin address in it, up towards the top. You may do this by running a command like the following:
From there, if you’re working through the Quick Start, you’ll jump immediately into the next section of that document, titled “Issuing Certificates.” That will take you through the step of copying the example unsigned certificate into the appropriate location in the file system, generating some fake coinage, sending it to your issuing address, and finally, running
cert-issuer. In regtest mode, this will result in a signed copy of the input certificate being written to output directory (in this case,
When you finish these steps, you will have a signed certificate, though it will not yet be on the Bitcoin blockchain. When you’re ready to try a testnet issuance, you’ll need to make a couple of changes to the
/etc/cert-issuer/conf.ini file, changing the network to
bitcoin_testnet and probably commenting out the line that says
bitcoind, if it exists. The README has more information about testnet and mainnet issuance, if you read it from the “Create a Bitcoin issuing address” subheading onwards.