-
Notifications
You must be signed in to change notification settings - Fork 190
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
Invalid peer certificate with --tls-no-verify
#1982
Comments
Additionally, version 0.28.2 does not have this issue. It seems to be related to #1929 |
That is strange! How did you install pixi? |
download it from github |
Or is it possible to provide an option for specifying a self-signed certificate? |
You should be able to add the certificate to your oses certificate store and it should be picked up. Ill investigate the regression. |
I have added the certificate to /etc/ssl/certs/, version 0.28.2 can recognize it well, but version 0.29.0 cannot. |
Ah this seems to be due to an update in uv: astral-sh/uv#6591 . This is handled differently now between uv and pixi.. Looping in @tdejager . I think this kind of setup would also be much better for pixi but it would require a little refactoring. WDYT? |
@zen-xu As a workaround you could try setting the |
Are you sure that these are read from our library calls as well, some env variables uv reads from the command line modules only |
This works |
Also running into the same thing, corporate MITM cert not getting respected by pixi when I use a pyproject file.
If I use a regular pixi.toml file this bug doesn't occur, so I agree it's due to uv changes rather than the switch to rustls-tls |
Yes, I need to map the |
@benmoss in this case you get the MITM cert instead of the one from |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
I installed a pypi package published on nexus using the latest pixi on the company's intranet server, but encountered
invalid peer certificate: UnknownIssuer
Expected behavior
--tls-no-verify
should workThe text was updated successfully, but these errors were encountered: