[SOLVED] wget unable to verify certs on fresh install
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to get Slackware64 14.2 up and running on a new Kaby Lake system I just built. The installation completes successfully and appears to work, but wget will not connect to any https sites, and gives the following error:
Unable to locally verify the issuer's authority.
It then recommends that I connect insecurely, which I definitely don't want to do.
I have Slackware64 running on all my other systems, so I'm totally baffled as to why this is happening. Other threads describing this problem offered solutions that did not resolve the problem for me.
Note that this is happening on a fresh, full installation. I noticed during the install that it prompted me to insert the next disc, which has never happened before, don't know if this might be a clue or not?
I also briefly compared the openssl.cnf file with the one on my laptop (which works), and could see no difference in the two.
I'm officially out of ideas at this point, if anyone could point me in the right direction it would be greatly appreciated!
I imagine that for some reason it didn't install the full Slackware. If it asked for a disk, you may have accidentally downloaded the 32bit CD ISO rather than the 64bit DVD ISO.
Can you run the following to see how many packages you have installed?
Code:
ls -l /var/log/packages/ | wc -l
There should be around 1250 packages with a full install minus KDEI.
I noticed during the install that it prompted me to insert the next disc, which has never happened before, don't know if this might be a clue or not?
It might. This is only supposed to happen in case you install using several ISO images (e.g. to fit on CDs instead of a DVD). As I assume this is not the case, I would assume there is an issue with your installation media and the installation was not complete or some step failed.
tl;dr : check the integrity of the ISO image, write it again on the installation media (at low speed if on a DVD, do not forget "sync" if on an USB device) and reinstall.
PS I didn't see bassmadrigal's post before clicking "save". Let's say our responses complete each other.
Last edited by Didier Spaier; 06-08-2017 at 11:19 AM.
Reason: PS added.
That was my first thought as well, but the disc I made is 2.6GB, and contains the slackware64 directory.
After running the command that bassmadrigal suggested, it shows I have 1088 packages installed, which is a few less than the estimate provided.
It seems surprising that the installation would even result in a bootable system if the disc was bad, but that does seem like the next logical step, so I will try Didier Spaier's suggestion and report back with my results.
It's possible you're having problems with the ca-certificates doinst.sh, try running this at a root prompt:
Code:
/usr/sbin/update-ca-certificates --fresh
Edit: second thoughts, no, don't bother, I think Didier is right actually
Thanks for the suggestion, this was actually one of the solutions I found before posting here, but it didn't help.
After re-downloading and verifying new installation media, the install did not ask for another disc like it was doing previously, and I had 1251 packages installed out of the box.
wget, and everything else, appears to be working fine now. Shame on me for not at least verifying the checksum before burning the disc!
Thank ya'll so much for your assistance, it is greatly appreciated!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.