Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

ERROR: certificate common name “*.rust-lang.org” doesn’t match requested host name “sh.rustup.rs” #86

Open
sonots opened this issue May 25, 2017 · 0 comments

Comments

@sonots
Copy link

sonots commented May 25, 2017

I am not sure where I should report this, but

The Book https://doc.rust-lang.org/book/getting-started.html#installing-rust says to install rust as:

curl https://sh.rustup.rs -sSf | sh

But, sh.rustup.rs has wrong ssl certificate as:

$ wget https://sh.rustup.rs
--2017-05-25 14:38:34--  https://sh.rustup.rs/
Resolving sh.rustup.rs... 54.215.0.2
Connecting to sh.rustup.rs|54.215.0.2|:443... connected.
ERROR: certificate common name “*.rust-lang.org” doesn’t match requested host name “sh.rustup.rs”.
To connect to sh.rustup.rs insecurely, use ‘--no-check-certificate’.

or

$ openssl s_client -connect sh.rustup.rs:443 -showcerts
...
---
Server certificate
subject=/OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.rust-lang.org
issuer=/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Domain Validation Secure Server CA
---
No client certificate CA names sent
Server Temp Key: ECDH, prime256v1, 256 bits
---
SSL handshake has read 4999 bytes and written 375 bytes
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant