Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Mejor respuesta

Please do

pip3 install pyOpenSSL --upgrade
Avatar
Descartar
Autor

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'

Publicaciones relacionadas Respuestas Vistas Actividad
2
dic 24
3086
1
oct 24
1172
0
feb 24
939
3
dic 23
8147
0
nov 23
1633