Hello guys everytime i try to issue a certificate i get this error
AttributeError: ‘CertificateBatchHandler’ object has no attribute ‘certificates_to_issue’
i tried changing the chain to reg and still also with the bitcoind and without
issuing_address = myaddress
chain=bitcoin_testnet
bitcoind=false
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
I had the same problem. Please be sure you have files in the unsigned_certificates_dir folder. That was the reason for me.
Hi Danny,
I am facing similar issue. And I have checked and copy pasted example certificate in unsigned_certificate folder.
CHA894
June 27, 2021, 8:51pm
4
was facing a similar issue… fixed by using CertificateBatchHandler and not CertificateBatchWebHandler by calling instantiate_blockchain_handlers with file_mode=True
certificate_batch_handler, transaction_handler, connector = \
bitcoin.instantiate_blockchain_handlers(config, True)