Winerror 126 trying to issue certificates

Hello, im running a python virtual environment, im stuck in the process of issuing certificates, its giving me this error.

(env) C:\Users\myuser\env\Scripts\cert-issuer>python cert_issuer -c 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_testnet chain
Traceback (most recent call last):
File “c:\users\myuser\appdata\local\programs\python\python37-32\lib\runpy.py”, line 193, in run_module_as_main
main”, mod_spec)
File “c:\users\myuser\appdata\local\programs\python\python37-32\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "cert_issuer_main
.py", line 21, in
cert_issuer_main()
File "cert_issuer_main
.py", line 17, in cert_issuer_main
issue_certificates.main(parsed_config)
File “C:\Users\myuser\env\lib\site-packages\cert_issuer-2.0.29-py3.7.egg\cert_issuer\issue_certificates.py”, line 34, in main
from cert_issuer.blockchain_handlers import bitcoin
File “C:\Users\myuser\env\lib\site-packages\cert_issuer-2.0.29-py3.7.egg\cert_issuer\blockchain_handlers\bitcoin_init_.py”, line 7, in
from cert_issuer.blockchain_handlers.bitcoin.connectors import BitcoinServiceProviderConnector, MockServiceProviderConnector
File “C:\Users\myuser\env\lib\site-packages\cert_issuer-2.0.29-py3.7.egg\cert_issuer\blockchain_handlers\bitcoin\connectors.py”, line 9, in
import bitcoin.rpc
File “C:\Users\myuser\env\lib\site-packages\python_bitcoinlib-0.11.0-py3.7.egg\bitcoin\rpc.py”, line 48, in
from bitcoin.wallet import CBitcoinAddress, CBitcoinSecret
File “C:\Users\myuser\env\lib\site-packages\python_bitcoinlib-0.11.0-py3.7.egg\bitcoin\wallet.py”, line 33, in
import bitcoin.core.key
File “C:\Users\myuser\env\lib\site-packages\python_bitcoinlib-0.11.0-py3.7.egg\bitcoin\core\key.py”, line 34, in
ssl = ctypes.cdll.LoadLibrary(ctypes.util.find_library(‘ssl’) or ‘libeay32’)
File "c:\users\myuser\appdata\local\programs\python\python37-32\lib\ctypes_init
.py", line 442, in LoadLibrary
return self.dlltype(name)
File "c:\users\myuser\appdata\local\programs\python\python37-32\lib\ctypes_init
.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

I highly recommend this step by step tutorial, there are some inevitable errors that are tackled in this article. Blockcerts Guide For Absolute Beginners (2021)
Good luck !

1 Like