You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should try using system trust stores when there is a custom certificate
52
+
chain configured for your system that pip isn't aware of. Typically, this
53
+
situation will manifest with an `SSLCertVerificationError` with the message
54
+
"certificate verify failed: unable to get local issuer certificate":
55
+
56
+
```{pip-cli}
57
+
$ pip install -U SomePackage
58
+
[...]
59
+
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (\_ssl.c:997)'))) - skipping
60
+
```
61
+
62
+
This error means that OpenSSL wasn't able to find a trust anchor to verify the
63
+
chain against. Using system trust stores instead of certifi will likely solve
64
+
this issue.
65
+
66
+
If you encounter a TLS/SSL error when using the `truststore` feature you should
67
+
open an issue on the [truststore GitHub issue tracker] instead of pip's issue
68
+
tracker. The maintainers of truststore will help diagnose and fix the issue.
0 commit comments