New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conda SSL errors with self-signed certs #10340
Comments
I was posting a lengthy reply about how I am facing the exact same issue on Windows, but in trying "everything" I have discovered a workaround for me that might be of assistance? We previously set an environmental variable REQUESTS_CA_BUNDLE pointing to our certificate to allow for ssl verification. However, recently that has been failing (giving same errors as you get), and same as your case, even when we set ssl_verify to false in the .condarc file. However, I've just renamed / deleted the REQUESTS_CA_BUNDLE (potentially SSL_CERT_DIR / SSL_CERT_FILE) environment variable from my setup, and am now able to get responses through conda (with ssl_verify false only). I know this doesn't solve the ssl verification issue, but potentially gives you a workaround? |
@emmet02 I've confirmed this works. After unsetting |
I faced the similar problem on Mac OS X and with Miniconda. After trying many things for hours I found that I needed to correctly set Condas environment to use the Root certificate that my company provided rather than the generic ones that Conda provides. Here is how I solved it:
You should be set and Conda should work fine. |
I am using Anaconda behind a firewall. My setup was fine until I recently patched my Mac (Security update 2018-002). After patching, I encountered SSL errors. I had set
ssl_verify
to the path of my corporate root cert, but was experiencing SSL errors. As a sanity check, I decided to disable ssl verification; to my surprise, I still ran into SSL errors:I have tried completely reinstalling anaconda, I have removed my system python3 installation, I've added and removed my proxy settings from my
~/.condarc
and I always encounter the same SSL errors. I've even appended our root cert to the certifi bundle. As a brute force measure, I appended our root cert to every file in~/anaconda3
which matchescacert*
and*.pem
.Interestingly, after appending the root cert to the certifi bundle, I see this:
I'm using conda 4.5.11 with OS X 10.13.6.
The text was updated successfully, but these errors were encountered: