-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build HTTP client, could not load PEM file #1701
Comments
Likely introduced by #1512 |
Presumably the certificate was not being loaded at all prior to #1512, is it a valid certificate? This might be an upstream bug. I wonder if we can fallback to using bundled certificates if we fail to load the system store like this, cc @BurntSushi |
curl/openssl is able to load it fine, so I would assume so. |
I'm not sure what to do about this, unfortunately. You may need to open this as an issue upstream or do some more debugging yourself. We're not in control of certificate validation. |
I figured out the issue was caused by there being indentation in the pem file (for some reason). I've created an issue upstream at rustls/pemfile#40 |
Thank you! |
The bug was fixed in Likely blocked by seanmonstar/reqwest#2136 |
Thank you for checking back in @killjoy1221! We're on rustls-pemfile v2.1.2 now. |
All commands that connect to the internet are failing when trying to load the local CAFILE. I do have some private certs installed, so it may be related.
Command:
uv venv --seed
Platform: Debian 10
UV Version: 0.1.5
ca-certificates.crt
The cafile loaded fine in uv 0.1.2, so this is a regression.
Error output:
The text was updated successfully, but these errors were encountered: