[solved] how to install certs for use with wget?
Posted: 23 Oct 2014, 17:21
I've been interested in working through LFS (Linux From Scratch), so I attempted to download its list of recommended packages the other day. Eight packages failed to download. I've learned these downloads failed because wget did not have the appropriate certificates for secure http with their servers. No certificates exist under /etc/ssl (apparently the normative location for openssl on Slackware), but I did locate several certificates under /usr/share/purple/ca-certs. Still, giving that directory to wget did not work:
I'd rather not use --no-check-certificate and learn the proper, secure way to acquire download the packages. I've been searching for documentation on creating a cert.pem file (which is missing) and how to install certificates, but it occurs to me this problem may occur to others in the Porteus community, or there may exist a standard solution for Porteus already.
Code: Select all
root@porteus:/mnt/sda4/sources# wget --ca-directory=/usr/share/purple/ca-certs/ http://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz -P $LFS/sources
--2014-10-23 13:07:29-- http://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz
Resolving launchpad.net (launchpad.net)... 91.189.89.222, 91.189.89.223
Connecting to launchpad.net (launchpad.net)|91.189.89.222|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/94524169/intltool-0.50.2.tar.gz [following]
--2014-10-23 13:07:34-- https://launchpadlibrarian.net/94524169/intltool-0.50.2.tar.gz
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:443... connected.
ERROR: cannot verify launchpadlibrarian.net's certificate, issued by ‘/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2’:
Unable to locally verify the issuer's authority.
To connect to launchpadlibrarian.net insecurely, use `--no-check-certificate'.