Lately, I have received errors while using wget against github on ubuntu 10.04.
ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'.
To connect to github.com insecurely, use `--no-check-certificate'.
Does anyone know why this error ocours and how to fix it (without --no-check-certificate).
Apparently, github.com is no longer using a wildcard certificate, and they use a certificate specifically for
github.com
. You need to obtain the new SSL certificate for github.com and put that in your system's certificate store, in/etc/ssl/certs
.You can get the new certificate using the command
In any case, the certificate is
Once you put it in
/etc/ssl/certs
,wget
will recognise it.