Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.
This repository was 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

@sonots

Description

@sonots

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions