Cert-issuer Error

Hi there,

I’m trying to use the cert-issuer program to issue some certificates on the testnet but I get this error

raise UnableToSignTxError('Unable to sign transaction') cert_issuer.errors.UnableToSignTxError: Unable to sign transaction

The inputs generated before signing the transaction are:

inputs : [Spendable<325 mbtc "e92ddcc3f675bcde9724927f1ed05637251e1bc64ef902580a4a010cdc84da63:0" 0/0/0>]

The decoded transaction

         "script_string":"OP_DUP OP_HASH160 7c7b8163753242da521c5919a6f4cd9deb62658c OP_EQUALVERIFY OP_CHECKSIG",
         "script_string":"OP_RETURN b592c04d71dc553b2835e353532e3439f353fd13d569b9ef8ce6183c98eb8530",


I decided to use a different address and somehow it worked. I am not to sure why but it is something to look into.

Hi Noah,
This happens if the private key for the transaction input you’re trying to spend isn’t available. The signing process signs all the inputs it can, but if it detects a transaction input couldn’t be signed, it fails with that message.

What happened mostly likely is that the private key for the address you tried to spend was not in the right (file) location.


Woops :slight_smile: I was looking in the wrong area. I probably lost the key when I restarted the docker image.

Thanks for the answer!

where should i put the private key ?

There is txt file (Pk_issuer.txt) in the cert-issuer folder, you should paste the PK there

This is the config file


when i try to look for this file … i didn’t find it :sweat:

don’t worry … i solved the problem

1 Like

That is the config.ini file, in the Cert-Issuer Folder there should be a Pk_issuer.txt file.

when i look in the https://live.blockcypher.com/ using my public key…

i see the transaction … do i need to wait until it is confirmed then i can use the verify button in cert-viewer ?