pypa / get-pip

Helper scripts to install pip, in a Python installation that doesn't have it.
https://bootstrap.pypa.io/pip/
MIT License
755 stars 297 forks source link

curl: (60) SSL certificate problem #157

Closed cybercat111 closed 2 years ago

cybercat111 commented 2 years ago

When I was downloading the Ansible through the curl manager I've got an error shared below:

$ curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py curl: (60) SSL certificate problem: self-signed certificate in certificate chain

How can I fix it without using a flag to disable a verification such as -k or --insecure?

pradyunsg commented 2 years ago

I'd suggest reaching out to someone in the organisation/network's IT team to help you with this.

See https://curl.se/docs/sslcerts.html for the documentation on curl (and, yes, -k could work -- I don't know your network setup).