AttributeError: module ‘lib’ has no attribute ‘X509_V_FLAG_CB_ISSUER_CHECK’

Edit the crypto.py file mentioned in the stacktrace and remove the offending line by commenting it out with a #

Then upgrade latest version of PyOpenSSL.

pip install pip --upgrade
pip install pyopenssl --upgrade

Now you can re-add the commented line again and it should be working

Leave a Comment