Skip to content

How to run uv behind a corporate proxy? #1474

Description

@NiklasRosenstein

Our corporate proxy inspects traffic and thus inserts its own certificate that has to be configured to trust across applications on the system. I do this by setting REQUESTS_CA_BUNDLE and SSL_CERT_FILE, etc. It seems that uv doesn't respect either of those. Is there another environment variable that it takes into account?

error: error sending request for url (https://pypi.org/simple/protobuf/): error trying to connect: invalid peer certificate: UnknownIssuer
  Caused by: error trying to connect: invalid peer certificate: UnknownIssuer
  Caused by: invalid peer certificate: UnknownIssuer

Metadata

Metadata

Assignees

No one assigned

    Labels

    networkNetwork connectivity e.g. proxies, DNS, and SSLquestionAsking for clarification or support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions