Conf.ini file error at this command execution bash-4.3# *cert-issuer -c /etc/cert-issuer/conf.ini*


#1

everything was running smoothly but i got error of AttributeError: ‘tuple’ object has no attribute ‘unsigned_cert_file_name’

These are the steps i executed as per the https://github.com/blockchain-certificates/cert-issuer#getting-the-docker-image

bash-4.3# issuer=bitcoin-cli getnewaddress
bash-4.3# sed -i.bak “s//$issuer/g” /etc/cert-issuer/conf.ini
bash-4.3# bitcoin-cli dumpprivkey $issuer > /etc/cert-issuer/pk_issuer.txt
bash-4.3# cp /cert-issuer/examples/data-testnet/unsigned_certificates/3bc1a96a-3
501-46ed-8f75-49612bbac257.json /etc/cert-issuer/data/unsigned_certificates/
bash-4.3# bitcoin-cli generate 101
[they got generated]

bash-4.3# bitcoin-cli sendtoaddress $issuer 5
eef54932f3362e4e5c8a03a0b4414a05f460c5801e21c533cd19770f8b65ed46
bash-4.3# cert-issuer -c /etc/cert-issuer/conf.ini
WARNING - Your app is configured to skip the wifi check when the USB is plugged
in. Read the documentation to ensure this is what you want, since this is less s
ecure
INFO - This run will try to issue on the bitcoin_regtest chain
INFO - Set cost constants to recommended_tx_fee=0.000600,min_per_output=0.000028
,satoshi_per_byte=250
INFO - Processing 1 certificates
INFO - Processing 1 certificates under work path=/etc/cert-issuer/work
INFO - Total cost will be 133500 satoshis
INFO - Starting finalizable signer
WARNING - app is configured to skip the wifi check when the USB is plugged in. R
ead the documentation to ensure this is what you want, since this is less secure
INFO - Stopping finalizable signer
WARNING - app is configured to skip the wifi check when the USB is plugged in. R
ead the documentation to ensure this is what you want, since this is less secure
INFO - here is the op_return_code data: c65c6184e3d5a945ddb5437e93ea312411fd33aa
1def22b0746d6ecd4aa30f20
INFO - Unsigned hextx=010000000146ed658b0f7719cd33c5211e80c560f4054a41b4a0038a5c
4e2e36f33249f5ee0100000000ffffffff02a07acc1d000000001976a91446c8f0ed9ace322b911a
063e5e30e65338b6941288ac0000000000000000226a20c65c6184e3d5a945ddb5437e93ea312411
fd33aa1def22b0746d6ecd4aa30f2000000000
INFO - Preparing tx for signing
INFO - Starting finalizable signer
WARNING - app is configured to skip the wifi check when the USB is plugged in. R
ead the documentation to ensure this is what you want, since this is less secure
INFO - Stopping finalizable signer
WARNING - app is configured to skip the wifi check when the USB is plugged in. R
ead the documentation to ensure this is what you want, since this is less secure
INFO - The actual transaction size is 235 bytes
INFO - Signed hextx=010000000146ed658b0f7719cd33c5211e80c560f4054a41b4a0038a5c4e
2e36f33249f5ee010000006b483045022100b41878ab8ff824c4cbce861e33bc17321d6197dc59b1
7d0988f71298664a163e0220799d00f39e796f7f7c25e7ab6bb7615ffb480d169f47fcda576299fb
ea98131a0121022ba66bcde7e7cd7c42c17908687b0af4dcbfb045d5dfad3110ee5c8995c66588ff
ffffff02a07acc1d000000001976a91446c8f0ed9ace322b911a063e5e30e65338b6941288ac0000
000000000000226a20c65c6184e3d5a945ddb5437e93ea312411fd33aa1def22b0746d6ecd4aa30f
2000000000
INFO - Signed hextx=010000000146ed658b0f7719cd33c5211e80c560f4054a41b4a0038a5c4e
2e36f33249f5ee010000006b483045022100b41878ab8ff824c4cbce861e33bc17321d6197dc59b1
7d0988f71298664a163e0220799d00f39e796f7f7c25e7ab6bb7615ffb480d169f47fcda576299fb
ea98131a0121022ba66bcde7e7cd7c42c17908687b0af4dcbfb045d5dfad3110ee5c8995c66588ff
ffffff02a07acc1d000000001976a91446c8f0ed9ace322b911a063e5e30e65338b6941288ac0000
000000000000226a20c65c6184e3d5a945ddb5437e93ea312411fd33aa1def22b0746d6ecd4aa30f
2000000000
INFO - verifying op_return value for transaction
INFO - verified OP_RETURN
INFO - Broadcasting succeeded with method_provider=<bound method BitcoindConnect
or.broadcast_tx of <cert_issuer.blockchain_handlers.bitcoin.connectors.BitcoindC
onnector object at 0x7fdf1b050400>>, txid=c6d5a430dd43d66d09865687e738b5338167d2
dae3ea50f52cc16ebcf7b59eaa
Traceback (most recent call last):
File “/usr/bin/cert-issuer”, line 11, in
load_entry_point(‘cert-issuer==2.0.15’, ‘console_scripts’, ‘cert-issuer’)()
File “/usr/lib/python3.6/site-packages/cert_issuer/main.py”, line 17, in c
ert_issuer_main
issue_certificates.main(parsed_config)
File “/usr/lib/python3.6/site-packages/cert_issuer/issue_certificates.py”, lin
e 36, in main
return issue(app_config, certificate_batch_handler, transaction_handler)
File “/usr/lib/python3.6/site-packages/cert_issuer/issue_certificates.py”, lin
e 22, in issue
tx_id = issuer.issue(app_config.chain)
File “/usr/lib/python3.6/site-packages/cert_issuer/issuer.py”, line 28, in iss
ue
self.certificate_batch_handler.finish_batch(txid, chain)
File “/usr/lib/python3.6/site-packages/cert_issuer/certificate_handlers.py”, l
ine 126, in finish_batch
self.certificate_handler.add_proof(metadata, proof)
File “/usr/lib/python3.6/site-packages/cert_issuer/certificate_handlers.py”, l
ine 24, in add_proof
certificate_json = self._get_certificate_to_issue(certificate_metadata)
File “/usr/lib/python3.6/site-packages/cert_issuer/certificate_handlers.py”, l
ine 31, in _get_certificate_to_issue
with open(certificate_metadata.unsigned_cert_file_name, ‘r’) as unsigned_cer
t_file:
AttributeError: ‘tuple’ object has no attribute ‘unsigned_cert_file_name’
bash-4.3#

no certificates are being generated and i dont have a conf.ini file instead there are three other types of files name conf_regtest conf_ethtest and conf_template.
is it that while perfoming the commands the conf.ini file is created?

Help would be much appreciated asap

Thanks!