Skip to content
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

Invalid SSL cert and missing md5 checksum for get-pip.py ? #5658

Closed
vkristjan opened this issue Jul 26, 2018 · 3 comments
Closed

Invalid SSL cert and missing md5 checksum for get-pip.py ? #5658

vkristjan opened this issue Jul 26, 2018 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation resolution: wrong project Should be reported elsewhere type: support User Support

Comments

@vkristjan
Copy link

vkristjan commented Jul 26, 2018

Hi

i was about to start installing pip from https://pip.pypa.io/en/stable/installing/ and bumped into this

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

After seeing this i still downloaded the file but was hesitant to execute it since i did not find any checksums on the page so i could verify the integrity of the file.

Can you fix the SSL certificate and add get-pip.py file checksums for extra protection?

@pradyunsg pradyunsg added the S: needs triage Issues/PRs that need to be triaged label Aug 20, 2018
@chrahunt chrahunt added resolution: wrong project Should be reported elsewhere S: awaiting response Waiting for a response/more information type: support User Support labels Aug 31, 2019
@triage-new-issues triage-new-issues bot removed S: needs triage Issues/PRs that need to be triaged labels Aug 31, 2019
@chrahunt
Copy link
Member

Hello. Is the SSL issue still happening to you? It may be handled more promptly on a general user support forum like serverfault.com. One piece of information that may help you get help is the output of openssl s_client -servername bootstrap.pypa.io -connect bootstrap.pypa.io:443 -showcerts from the server having the issue. I would compare the certificate from that to the certificate you see when navigating to the page from a web browser.

I have added pypa/get-pip#47 to track providing digests alongside the files in get-pip.

@vkristjan
Copy link
Author

SSL issue is fixed now.

@no-response no-response bot removed the S: awaiting response Waiting for a response/more information label Sep 3, 2019
@chrahunt
Copy link
Member

chrahunt commented Sep 3, 2019

Thanks. I will close this issue and we can track the pending action on the issue I linked above.

@chrahunt chrahunt closed this as completed Sep 3, 2019
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Oct 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation resolution: wrong project Should be reported elsewhere type: support User Support
Projects
None yet
Development

No branches or pull requests

3 participants