Skip to content
Myr

Explain SSL_CERT_DIR specific format (#1470)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

It's easy to believe that any .pem files there will get picked up automatically, but that's not the case.

authored by Quentin Pradet · committed by GitHub · parent 5af6ab0 · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:docs/environment_variables.md+2 added-4 removed
120 unmodified lines
121```122123## `SSL_CERT_DIR`124125Valid values: a directory125Valid values: a directory following an [OpenSSL specific layout](https://www.openssl.org/docs/manmaster/man3/SSL_CTX_load_verify_locations.html).126127If this environment variable is set then HTTPX will load128CA certificates from the specified location instead of the default129location.127If this environment variable is set and the directory follows an [OpenSSL specific layout](https://www.openssl.org/docs/manmaster/man3/SSL_CTX_load_verify_locations.html) (ie. you ran `c_rehash`) then HTTPX will load CA certificates from this directory instead of the default location.128129Example:130131```console
46 unmodified lines