Skip to content

Commit 7114040

Browse files
sethmlarsonpradyunsg
authored andcommitted
Update docs to mention previous behavior
1 parent bec252f commit 7114040

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/html/topics/https-certificates.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ variables.
2323
2424
```
2525

26-
If Python 3.10 or later is being used then by default
26+
```{note}
27+
Versions of pip prior to v24.2 did not use system certificates by default.
28+
To use system certificates with pip v22.2 or later, you must opt-in using the `--use-feature=truststore` CLI flag.
29+
```
30+
31+
On Python 3.10 or later, by default
2732
system certificates are used in addition to certifi to verify HTTPS connections.
2833
This functionality is provided through the {pypi}`truststore` package.
2934

@@ -35,7 +40,7 @@ To opt-out of using system certificates you can pass the `--use-deprecated=legac
3540
flag to pip.
3641

3742
```{warning}
38-
If Python 3.9 or earlier is in use then only certifi is used to verify HTTPS connections.
43+
On Python 3.9 or earlier, by default only certifi is used to verify HTTPS connections.
3944
4045
The system certificate store won't be used in this case, so some situations like proxies
4146
with their own certificates may not work. Upgrading to at least Python 3.10 or later is

0 commit comments

Comments
 (0)