-
Notifications
You must be signed in to change notification settings - Fork 893
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
Problem with installing rustup-rs on Windows #581
Comments
Here's the COMODO authority cert that rust-lang uses, and here's the rust-lang.org wildcard cert. If you add one of these to your system root certs I'd expect rustup to work. Since this is a work computer, I'm guessing there's a work reason you don't have the COMODO cert, and suggest trying to add the rust-lang.org cert directly. I haven't modified the Windows cert store myself, but these instructions look like a start: https://msdn.microsoft.com/en-us/library/windows/hardware/ff553506(v=vs.85).aspx |
I have checked existing certificates and it appears that I already have Comodo certificate.
Then I open rust-lang.org site in Internet Explorer and in the address line I open site certificate information and install it from there. Is this correct certificate? Because it still doesn't work for me and I get same error message when I run |
@HaronK Yes, the cert from |
I am having the same issue with rustup-init 1.0.0 (17b6d21 2016-12-15):
I have installed both certificates as suggested to no avail. |
I have the similar problem when I try run: The error is:
S.O.: Windows 7 RESOLVE: I open the url https://static.rust-lang.org on IExplorer and install the certificate |
For my windows10, I add the https_proxy into system environment variables and resolve this issue: |
It would be great if we can have an option like in https://github.com/rust-lang/cargo/pull/3699/files |
I'm having this issue behind a proxy in a corporate environment. Turning SSL Verify off works in cargo for me. |
Yes, same for me. Cargo has a config file where I must add It is urgently need in company environments with proxys with Microsofts NTLM auth. We can not change the company proxys, so please adapt the rust-tools. |
Same, I set |
See this for debug information on the same setup |
@HaronK
|
Sorry to revive this fairly old issue, but I'm seeing this error via Ansible for our Mac deployments. The error message is as follows:
Does anyone know what could be causing this? |
This one works for linux too if you are on a proxy that is. |
So looks like this is a backend-related issue (cc #3790). Since the landscape of Rustup has changed quite a lot since then ( |
I have a problem with installing rustup.rs on my Windows machine at work.
Configuration:
Windows 7 Enterprise x64 SP1
Version of rustup-init:
rustup-init 0.2.0 (57f335a 2016-06-21)
My machine works behind a proxy so that's can be a reason of the problem.
If I run ./rustup-init.exe I got following output:
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to 'C:\Users\oleg\.multirust\tmp\m51gbmnxzt7hj98l_file' info: caused by: http request returned failure: [35] SSL connect error
Command RUSTUP_USE_HYPER=1 ./rustup-init.exe produces:
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc' error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to 'C:\Users\oleg\.multirust\tmp\cshl3tis_w_u4t2b_file info: caused by: failed to make network request info: caused by: other os error info: caused by: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. (os error -2146762487)
Looks like I have to register some certificate.
The text was updated successfully, but these errors were encountered: