Skip to content

Commit

Permalink
Update docs to mention previous behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Jul 10, 2024
1 parent 0138f95 commit 29de6e2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/html/topics/https-certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ variables.
```

If Python 3.10 or later is being used then by default
```{note}
Versions of pip prior to v24.2 did not use system certificates by default.
To use system certificates with pip v22.2 or later, you must opt-in using the `--use-feature=truststore` CLI flag.
```

On Python 3.10 or later, by default
system certificates are used in addition to certifi to verify HTTPS connections.
This functionality is provided through the {pypi}`truststore` package.

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

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

0 comments on commit 29de6e2

Please sign in to comment.