During Preparations

Module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

Sometimes by running ./cc-ansible init --site /opt/site-config, an error shows up:

Module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

It could be resolved by

source venv/bin/activate
pip3 install pyOpenSSL --upgrade

It seems to be due to pip upgrade. Upgrade pyOpenSSL to 22.0.0 to fix the issue.

Last updated