Skip to content

Docs are incorrect about SSL_CERT_FILE behavior #3604

Closed

Description

@rehevkor5

Unlike `requests`, the `httpx` package does not automatically pull in [the environment variables `SSL_CERT_FILE` or `SSL_CERT_DIR`](https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_default_verify_paths.html). If you want to use these they need to be enabled explicitly.

See #307

Activity

  1. rehevkor5 commented on Jul 9, 2025

    @rehevkor5
    Author

    Confusingly, the changes to the "Environment Variables" page don't appear on the documentation site. Is publishing broken? https://www.python-httpx.org/environment_variables/

  2. rehevkor5 commented on Jul 9, 2025

    @rehevkor5
    Author

    Ah, it was removed in a later version, that is disappointing: #3022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions