Summary
With the 0.11.X release of uv, there are constant warnings about an empty SSL_CERT_DIR.
Reproduce with conda:
- conda create -n uv_bug python=3.14 -y
- conda activate uv_bug
- pip install "uv>=0.11"
- uv pip install numpy
This will yield: warning: Ignoring SSL_CERT_DIR. No certificates found in: which will also show up with other uv commands.
The problem is that conda by default creates an activation script for openssl in the environment (e.g., in %userprofile%\miniforge3\envs\pref\etc\conda\activate.d) with the following content:
if (-not $Env:SSL_CERT_FILE) {
$Env:SSL_CERT_FILE = "$Env:CONDA_PREFIX\Library\ssl\cacert.pem"
$Env:__CONDA_OPENSSL_CERT_FILE_SET = "1"
}
if (-not $Env:SSL_CERT_DIR) {
$Env:SSL_CERT_DIR = "$Env:CONDA_PREFIX\Library\ssl\certs"
$Env:__CONDA_OPENSSL_CERT_DIR_SET = "1"
}
By default, $Env:CONDA_PREFIX\Library\ssl\cacert.pem points to an existing file but $Env:CONDA_PREFIX\Library\ssl\certs is empty (strictly speaking it only contains a .keep file). The latter is causing the warning message. One could argue that conda should not point SSL_CERT_DIR to an empty directory but I also think that uv should not warn about this if SSL_CERT_FILE points already to an existing file.
uv 0.10.X did not have this warning. Unfortunately, this warning is emitted with every uv command.
Platform
Windows 11
Version
0.11.6
Python version
3.14.4
Summary
With the 0.11.X release of uv, there are constant warnings about an empty
SSL_CERT_DIR.Reproduce with conda:
This will yield:
warning: IgnoringSSL_CERT_DIR. No certificates found in:which will also show up with other uv commands.The problem is that conda by default creates an activation script for openssl in the environment (e.g., in
%userprofile%\miniforge3\envs\pref\etc\conda\activate.d) with the following content:By default,
$Env:CONDA_PREFIX\Library\ssl\cacert.pempoints to an existing file but$Env:CONDA_PREFIX\Library\ssl\certsis empty (strictly speaking it only contains a.keepfile). The latter is causing the warning message. One could argue that conda should not pointSSL_CERT_DIRto an empty directory but I also think that uv should not warn about this ifSSL_CERT_FILEpoints already to an existing file.uv 0.10.X did not have this warning. Unfortunately, this warning is emitted with every uv command.
Platform
Windows 11
Version
0.11.6
Python version
3.14.4