Skip to content

Provide flag for using "load default certs" from Python's standard library for the SSL Context  #11038

@notatallshaw

Description

@notatallshaw

What's the problem this feature will solve?

As discussed in #10777 and #10961 .

In practice it will let Pip use the platform's certificate store. There is at least one edge case on Windows where this might not work as simply as that but idea is flag will defer entirely to the documentation in the standard library: https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_default_certs

Describe the solution you'd like

Optional flag to allow load default certs for Pip's SSLContext.

Alternative Solutions

Don't provide

Additional context

Allows some users to use this instead of "trusted_host" over HTTP, or trying to manually extract their certificate store in to a file (which is not always possible on Windows).

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions