-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
pypi.<name>.ca_certs config option does not work #2041
Comments
Because we don't support per-source ca-certs settings, just change the |
Understood This means the following line in the docs is wrong and should be removed: pdm/docs/docs/reference/configuration.md Line 62 in b31edde
|
Oh yeah, that was a mistake. But you seems to send PR to the wrong upstream :) |
Oh yeah, I will correct the PR |
Make sure you run commands with
-v
flag before pasting the output.Steps to reproduce
Add a source named
custom
topyproject.toml
, who's URL is signed by a self-signed certificateProvide the corresponding CA bundle via command-line:
Try to add a package, which is only present on the
custom
source indexSee an
SSLError
when trying to use the index, e.g. withpdm add
orpdm install
Actual behavior
Traceback
(I replaced my index domain with
gitlab.custom.domain
for security reasons.)Expected behavior
The CA bundle should be used by PDM for the given source to verify the self-signed certificate.
Environment Information
The text was updated successfully, but these errors were encountered: