Issue certificates on the blockchain

#1

I am new to blockchain and blockcerts. I am doing in testnet mode (bitcoins). I have copied the sample unsigned certificate from examples folder in cert-issuer to /etc/cert-issuer/data/unsigned_certificates.
I got stuck at running the below command
cert-issuer -c /etc/cert-issuer/conf.ini, getting error
cert-issuer: command not found.
I have gone through a solution, by running the below command (python3 issue_certificates.py -c conf.ini) , but getting error
Traceback (most recent call last): File “issue_certificates.py”, line 4, in <module> from cert_core import Chain ModuleNotFoundError: No module named ‘cert_core’.
Can anyone please explain me what these both commands do ?
I have created conf.ini and pk_issuer.txt in the folder path /etc/cert-issuer/. Do I need to run above command in bash? In configuration file can I replace issuing_address directly with generated bitcoin address in the place of issuing_address in conf.ini.

issuing_address =
chain=bitcoin_regtest
bitcoind

usb_name=/etc/cert-issuer/
key_file=pk_issuer.txt

unsigned_certificates_dir=/etc/cert-issuer/data/unsigned_certificates
blockchain_certificates_dir=/etc/cert-issuer/data/blockchain_certificates
work_dir=/etc/cert-issuer/work
no_safe_mode

After running cert-issuer -c /etc/cert-issuer/conf.ini, what is the data generated in pk_issuer.txt file? I am not clear with the concept after issuing certificates to blockchain. Please clearly explain me the steps to follow from here and concept too.

0 Likes