# Error: Issue the certificates on the blockchain

**URL:** <https://community.blockcerts.org/t/error-issue-the-certificates-on-the-blockchain/2378>\
**Category:** Technical\
**Created:** [March 3, 2020, 9:10am UTC](https://community.blockcerts.org/t/error-issue-the-certificates-on-the-blockchain/2378 "2020-03-03T09:10:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dekts](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@dekts](https://community.blockcerts.org/u/dekts)\
**Post date:** [March 3, 2020, 9:10am UTC](https://community.blockcerts.org/t/error-issue-the-certificates-on-the-blockchain/2378/1 "2020-03-03T09:10:40Z")

</div>

Issue the certificates on the blockchain

`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 secure  
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 0 certificates  
INFO - Total cost will be 133500 satoshis  
Traceback (most recent call last):  
File “/usr/bin/cert-issuer”, line 11, in   
load\_entry\_point(‘cert-issuer==2.0.22’, ‘console\_scripts’, ‘cert-issuer’)()  
File “/usr/lib/python3.6/site-packages/cert\_issuer/ **main**.py”, line 17, in cert\_issuer\_main  
issue\_certificates.main(parsed\_config)  
File “/usr/lib/python3.6/site-packages/cert\_issuer/issue\_certificates.py”, line 36, in main  
return issue(app\_config, certificate\_batch\_handler, transaction\_handler)  
File “/usr/lib/python3.6/site-packages/cert\_issuer/issue\_certificates.py”, line 22, in issue  
tx\_id = issuer.issue(app\_config.chain)  
File “/usr/lib/python3.6/site-packages/cert\_issuer/issuer.py”, line 23, in issue  
blockchain\_bytes = self.certificate\_batch\_handler.prepare\_batch()  
File “/usr/lib/python3.6/site-packages/cert\_issuer/certificate\_handlers.py”, line 101, in prepare\_batch  
for \_, metadata in self.certificates\_to\_issue.items():  
AttributeError: ‘CertificateBatchHandler’ object has no attribute ‘certificates\_to\_issue’

I’m trying to resolve the issue from yesterday but still not found the issue.

Anyone who is experienced this please suggest where I’m making the mistakes.

---

<div class="post-metadata">

**Author:** ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)\
**Post date:** [July 11, 2022, 1:44pm UTC](https://community.blockcerts.org/t/error-issue-the-certificates-on-the-blockchain/2378/3 "2022-07-11T13:44:45Z")

</div>

Please take a look at this:

> [@Error: with cert\_issuer -c conf.ini(AttributeError: ‘CertificateBatchHandler’ object has no attribute 'certificates\_to\_issue’)](https://community.blockcerts.org/t/error-with-cert-issuer-c-conf-ini-attributeerror-certificatebatchhandler-object-has-no-attribute-certificates-to-issue/3209):
>
> I got error when I try to issue a certificate AttributeError: ‘CertificateBatchHandler’ object has no attribute 'certificates\_to\_issue’ I followed this website I’ve aleady checked other post about this error but it didn’t work. Anyone can solve this problem?? Please help me. Error conf.ini issuing\_address = myaddress verification\_method = URL chain=bitcoin\_testnet #bitcoind usb\_name=./ key\_file=./pk\_issuer.txt unsigned\_certificates\_dir=./data/unsigned\_certificat…
