uv/docs/reference
samypr100 bf99f0a195
Add support for SSL_CERT_DIR (#16473)
## Summary

Closes https://github.com/astral-sh/uv/issues/16414

Adds support for the standard
[SSL_CERT_DIR](https://docs.openssl.org/3.6/man3/SSL_CTX_load_verify_locations)
which has gained recent proper support from
[rustls-native-certs](https://github.com/rustls/rustls-native-certs/pull/187)
in v0.8.2.

In addition, this PR clarifies documentation around `SSL_CERT_FILE` and
`SSL_CERT_DIR` when used in combination with `UV_NATIVE_TLS` as
mentioned in
https://github.com/astral-sh/uv/issues/16412#issuecomment-3434927201

## Test Plan

Manually tested with custom cert chains in multiple directories and
loading them via SSL_CERT_DIR. We didn't have tests for `SSL_CERT_FILE`
or `SSL_CERT_DIR` environment variables so I added a basic one using our
own test-only certificate generation and dummy https server. I also
moved some things around for better reuse.
2025-11-16 11:48:31 -06:00
..
internals Document metadata consistency expectation (#15683) 2025-10-19 14:29:47 +02:00
policies Windows arm64 and Linux RISC-V64 are Tier 2 supported (#16027) 2025-09-29 17:54:04 +02:00
troubleshooting Fix and improve docs (#13620) 2025-06-10 13:15:38 -05:00
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
cli.md Support http/https URLs in `uv python --python-downloads-json-url` (#16542) 2025-11-14 17:51:24 -05:00
environment.md Add support for SSL_CERT_DIR (#16473) 2025-11-16 11:48:31 -06:00
index.md Move Resolver to new Internals section in the Reference (#15465) 2025-08-22 19:26:16 -05:00
installer.md Add `UV_` prefix to installer environment variables (#14964) 2025-07-30 01:24:59 +00:00
settings.md Support http/https URLs in `uv python --python-downloads-json-url` (#16542) 2025-11-14 17:51:24 -05:00