Skip to content
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

cargo-binstall doesn't work behind corporate firewall #1529

Closed
scalpel4k opened this issue Dec 15, 2023 · 3 comments
Closed

cargo-binstall doesn't work behind corporate firewall #1529

scalpel4k opened this issue Dec 15, 2023 · 3 comments

Comments

@scalpel4k
Copy link

Hi,

our pipelines are running behind a corporate firewall with custom TLS certificates. These are part of the certificate store, and curl, cargo and all other programs are working properly.

While cargo install for instance works, cargo binstall doesn't, despite having set SSL_CERT_FILE which was introduced in #774.

And here's the error message that I get when I'm trying to install something with cargo binstall

image

@passcod
Copy link
Member

passcod commented Dec 15, 2023

Ah, we changed the env var due to some conflict, it's BINSTALL_HTTPS_ROOT_CERTS or using the --root-certificates option on the command line. I'm not sure why we don't read from the system cert store though.

@NobodyXu
Copy link
Member

I recalled reading from system env somehow breaks our CI?

@scalpel4k
Copy link
Author

oh thanks, this actually did the trick. Now that I know reading the command line help would have helped .....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants