[R] certificate error when downloading from cran.r-project.org

pim schravendijk pimlists at gmail.com
Fri Nov 20 09:24:24 CET 2015


Excuse me if this may be a superfluous question, but I was wondering if
maybe a change in the r-project server configuration broke the certificate.
Or are the certificates in my browser outdated?

Anyway, when downloading R source code from cran I get the following error:

ERROR: certificate common name “r-project.org” doesn’t match requested host
name “cran.r-project.org”.

I can of course use the workaround but I would rather make sure I am not
victim of some man-in-the-middle hack.

Any thoughts on this?

Greetings, Pim

Here's the whole message:

# wget https://cran.r-project.org/src/base/R-3/R-3.2.2.tar.gz
--2015-11-20 09:17:34--
https://cran.r-project.org/src/base/R-3/R-3.2.2.tar.gz
Resolving cran.r-project.org... 137.208.57.37
Connecting to cran.r-project.org|137.208.57.37|:443... connected.
ERROR: certificate common name “r-project.org” doesn’t match requested host
name “cran.r-project.org”.
To connect to cran.r-project.org insecurely, use ‘--no-check-certificate’.

	[[alternative HTML version deleted]]



More information about the R-help mailing list