-
Notifications
You must be signed in to change notification settings - Fork 19
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
SSL certificate failure with eups distrib #145
Comments
This seems likely to be due to a security-scan HTTPS proxy, e.g. https://support.sophos.com/support/s/article/KB-000038420. The error is SSL doing its job at preventing man-in-the-middle attacks. Typically you would need to add the proxy's certificate authority (obtained from your IT/security department) to your system's database. Turning off HTTPS certificate verification completely has a substantial risk of software corruption; eups has no other means of verifying that the packages downloaded are the same as what is intended to be distributed. Nevertheless, an option could be added to do this with appropriate (BIG SCARY) caveats to the user. |
Thanks @ktlim. I noticed that I can see the above URL with a regular web browser, and also examine its certificates. Any idea if I can leverage this into getting it to work for eups? |
Some combination of things in here might help. I'm not certain, however, that conda-eups (if you're using that) will use the conda-client's certificate chain. https://stackoverflow.com/questions/39356413/how-to-add-a-custom-ca-root-certificate-to-the-ca-store-used-by-pip-in-windows |
When attempting to use
eups distrib
from LLNL, I getThis only seems to happen from LLNL. Firewall related maybe?
At some time in the past few years though, I determined that inserting
near the beginning of
bin/eups
solves my problem (I'm sure I found this on stackoverflow at some point). So my current workflow is every time I reinstall eups, I go back and remind myself to hack up this file.Can something like this be made a command line option perhaps? Or does someone need to yell at me for inserting super dodgy code into my
eups
? Or any other ideas?The text was updated successfully, but these errors were encountered: