root@cubie2:/mnt/src# wget
--2014-07-14 01:10:45--
Resolving (
Connecting to (||:443... connected.
ERROR: The certificate of `' is not trusted.
ERROR: The certificate of `' 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.



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

root@cubie2:/mnt/src# wget
--2014-07-14 01:14:11--
Resolving (
Connecting to (||: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.