Last active
November 29, 2022 12:56
-
-
Save fadur/3d41e8292ded222d7f082e9cb3a7a7dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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