Skip to Content
Menu
This question has been flagged

How to solve this :

CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

Avatar
Discard
Best Answer

Please do

pip3 install pyOpenSSL --upgrade
Avatar
Discard
Author

It doesn't work, here is the same error show up :
from OpenSSL import crypto, SSL
File "/usr/local/lib/python3.8/dist-packages/OpenSSL/crypto.py", line 1553, in <module>
class X509StoreFlags(object):
File "/usr/local/lib/python3.8/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

Related Posts Replies Views Activity
2
Dec 24
3084
1
Oct 24
1166
0
Feb 24
939
3
Dec 23
8146
0
Nov 23
1631