I found something like this while
wget a file from
Unable to locally verify the issuer's authority.
What it's saying is that its knowledge about ssl certs doesn't cover the one we're using.
Fortunately, it can be solved using :
apt-get install ca-certificates
And here is the description of the package.
PEM files of CA certificates to allow SSL-based applications to check for the authenticity of SSL connections.