I get the following error when I run the command rustup-init -y:
could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to '/root/.rustup/tmp/7wzxxkvb0v94ftm8_file'
info: caused by: error during download
info: caused by: [35] SSL connect error
This is because I'm behind a corporate proxy. So I tried changing the file rustup-init.sh to add the -k flag to turn off curl's certificate verification. However, this doesn't seem to affect the file as it is throwing the above error.
The rustup-init file has the 20th line as: '#XXX: If you change anything here, please make the same changes in setup_mode.rs'
I find no such file in my system. Where do I get this file? Is there any other alternative to help me download without curl's certificate verification?
I get the following error when I run the command rustup-init -y:
could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to '/root/.rustup/tmp/7wzxxkvb0v94ftm8_file'
info: caused by: error during download
info: caused by: [35] SSL connect error
This is because I'm behind a corporate proxy. So I tried changing the file rustup-init.sh to add the -k flag to turn off curl's certificate verification. However, this doesn't seem to affect the file as it is throwing the above error.
The rustup-init file has the 20th line as: '#XXX: If you change anything here, please make the same changes in setup_mode.rs'
I find no such file in my system. Where do I get this file? Is there any other alternative to help me download without curl's certificate verification?