Skip to content

Instantly share code, notes, and snippets.

@fadur
Last active November 29, 2022 12:56
Show Gist options
  • Select an option

  • Save fadur/3d41e8292ded222d7f082e9cb3a7a7dc to your computer and use it in GitHub Desktop.

Select an option

Save fadur/3d41e8292ded222d7f082e9cb3a7a7dc to your computer and use it in GitHub Desktop.
cp ZscalerRootCertificate-2048-SHA256.crt $(openssl version -d | cut -f2 -d \")/certs
sudo update-ca-certificates -f
## node js
export NODE_EXTRA_CA_CERTS=/home/linuxbrew/.linuxbrew/etc/openssl@1.1/certs/ZscalerRootCertificate-2048-SHA256.crt
## python
pip install certifi
cat ZscalerRootCertificate-2048-SHA256.crt >> $(python -m certifi)/certs
export CERT_PATH=$(python -m certifi)
export SSL_CERT_FILE=${CERT_PATH}
export REQUESTS_CA_BUNDLE=${CERT_PATH}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment