Error:

 

root@cubie2:/mnt/src# wget https://github.com/lizardfs/lizardfs/archive/master.zip
--2014-07-14 01:10:45--  https://github.com/lizardfs/lizardfs/archive/master.zip
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
ERROR: The certificate of `github.com' is not trusted.
ERROR: The certificate of `github.com' hasn't got a known issuer.

 

 

You'll see that you don't have the certificates package installed:

root@cubie2:/mnt/src# aptitude search ca-cert
p   ca-certificates                                             - Common CA certificates                                                
p   ca-certificates-java                                        - Common CA certificates (JKS keystore)   

 

 

accordingly, to fix, install them:

root@cubie2:/mnt/src# apt-get install ca-certificates
[...]
Setting up ca-certificates (20130119) ...
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 158 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
root@cubie2:/mnt/src# 

 

 

After this, wget can correctly verifty the trust chain and certificate:

root@cubie2:/mnt/src# wget https://github.com/lizardfs/lizardfs/archive/master.zip
--2014-07-14 01:14:11--  https://github.com/lizardfs/lizardfs/archive/master.zip
Resolving github.com (github.com)... 192.30.252.128
Connecting to github.com (github.com)|192.30.252.128|:443... connected.
HTTP request sent, awaiting response... 302 Found

 

 

given the age of the ca certificates package nobody but the ssl gods know if those certs are all sane.