Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
12-28-2018, 12:52 PM
|
#1
|
Senior Member
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445
Rep: 
|
Can I update ca-certificates on 14.2?
I am starting to see TLS errors with Liferea on 14.2 and just was wondering if I should try reinstalling ca-certificates or if I can upgrade them to the package from -current. I haven't seen any errors through Waterfox.
I don't want to break my install by upgrading to the -current version, but I wouldn't be very disappointed if it did break. I was considering moving to -current, but I don't think that it is really ready enough. A fresh install of 14.2 wouldn't kill me either, but I don't want to do it and it could be resolved by just upgrading or reinstalling ca-certificates.
Any input would be helpful, TIA.
|
|
|
12-28-2018, 01:12 PM
|
#2
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,268
|
I don't know if it's officially permissible, but when I installed Slack last week, I used the ca-certs from current. I don't see that it can do any harm because ca-certs are data, not executable code that some program could be linked to.
|
|
2 members found this post helpful.
|
12-28-2018, 01:33 PM
|
#3
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 3,129
|
Yes, it is safe to use the ca-certificates package from -current on earlier versions of Slackware.
|
|
7 members found this post helpful.
|
12-28-2018, 04:56 PM
|
#4
|
Senior Member
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634
|
@Skaendo
Before you move to the ca-certificates from -current, I'd suggest to try updating the already available ones:
Code:
/usr/sbin/update-ca-certificates --fresh
|
|
5 members found this post helpful.
|
12-28-2018, 08:12 PM
|
#5
|
Senior Member
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445
Original Poster
Rep: 
|
Thanks everyone.
I tried what @abga suggested and tried updating first, but it didn't completely solve the problem so I updated the build script for 14.2 with the version from -current and upgraded. It threw a bunch of errors after I ran update-ca-certificates (just couple to elaborate):
Code:
W: /usr/share/ca-certificates/mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.crt not found, but listed in /etc/ca-certificates.conf.
W: /usr/share/ca-certificates/mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.crt not found, but listed in /etc/ca-certificates.conf.
W: /usr/share/ca-certificates/mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.crt not found, but listed in /etc/ca-certificates.conf.
W: /usr/share/ca-certificates/mozilla/Verisign_Class_3_Public_Primary_Certification_Authority.crt not found, but listed in /etc/ca-certificates.conf.
W: /usr/share/ca-certificates/mozilla/Visa_eCommerce_Root.crt not found, but listed in /etc/ca-certificates.conf.
W: /usr/share/ca-certificates/mozilla/WellsSecure_Public_Root_Certificate_Authority.crt not found, but listed in /etc/ca-certificates.conf.
But most feeds are working normal again. the only one that is not working is Torrent Freak so I am assuming that it could be on their end or it is a issue with Liferea itself.
Thanks again.
Last edited by Skaendo; 12-28-2018 at 08:25 PM.
|
|
|
12-29-2018, 11:48 AM
|
#6
|
Member
Registered: Feb 2015
Distribution: Slackware 14.2-64bit
Posts: 63
Rep: 
|
I've been been using Liferea for several years now and just a couple of weeks ago, one day I noticed several errors with just some feeds too. After a few days of trying this and that I started looking for viable alternatives. Now using Feedbro, a Firefox extension:
https://addons.mozilla.org/en-US/fir...feedbroreader/
Took a day or two to adjust from using a discrete application to just another tab in a browser but it has a surprisingly extensive feature set, much more than Liferea's.
|
|
|
12-29-2018, 07:12 PM
|
#7
|
Senior Member
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445
Original Poster
Rep: 
|
Quote:
Originally Posted by svim
I've been been using Liferea for several years now and just a couple of weeks ago, one day I noticed several errors with just some feeds too. After a few days of trying this and that I started looking for viable alternatives. Now using Feedbro, a Firefox extension:
https://addons.mozilla.org/en-US/fir...feedbroreader/
Took a day or two to adjust from using a discrete application to just another tab in a browser but it has a surprisingly extensive feature set, much more than Liferea's.
|
Thanks for the tip. I would much rather have a standalone application for most things. I just don't like weighing down my browser with a bunch of addons. Liferea does what I need it to, grab feeds and let me open the links in my browser.
|
|
|
12-29-2018, 07:25 PM
|
#8
|
Member
Registered: Mar 2016
Distribution: Slackware
Posts: 157
|
Quote:
Originally Posted by Skaendo
It threw a bunch of errors after I ran update-ca-certificates (just couple to elaborate):
|
Did you move /etc/ca-certificates.conf.new to /etc/ca-certificates.conf before running update-ca-certificates?
|
|
4 members found this post helpful.
|
12-29-2018, 07:35 PM
|
#9
|
Senior Member
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445
Original Poster
Rep: 
|
Quote:
Originally Posted by Markus Wiesner
Did you move /etc/ca-certificates.conf.new to /etc/ca-certificates.conf before running update-ca-certificates?
|
No I did not. Fixed. Thanks.
24 more added and no errors.
Last edited by Skaendo; 12-29-2018 at 07:36 PM.
|
|
|
02-13-2019, 01:50 PM
|
#10
|
Member
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 524
|
Beware of one thing that I noticed today:
I'd upgraded ca-certificates from 14.0 (latest patches version) with the one from -current.
The update-ca-certificates script attempts to run `openssl rehash` which is only a command available with openssl 1.1.x; 1.0.x shipped with 14.0 does not include that command; the correct command is c_rehash.
So updating to -current ca-certificates on 14.0 resulted in some errors such as wget not being able to download files via https.
|
|
|
02-13-2019, 04:22 PM
|
#11
|
Member
Registered: Jun 2014
Location: Sydney, Australia
Distribution: Slackware,LFS
Posts: 989
|
Further to @abga's suggestion to run
Code:
/usr/sbin/update-ca-certificates --fresh
which solved an entirely different issue for me (connection problem using a VLC addon) ...
Since certificates from letsencrypt have a relatively short lifetime, maybe more servers are out there with certificates being renewed quite often. To accommodate this, should we be running update-ca-certificates as a matter of course - even regularly via a cron job?
chris
Last edited by chris.willing; 02-13-2019 at 04:23 PM.
Reason: typo
|
|
|
02-13-2019, 05:14 PM
|
#12
|
Senior Member
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445
Original Poster
Rep: 
|
Just to give a update on my original issue where I was having problems with Liferea which is why I wanted to try and update the certs in the first place, it seems that it might have been a issue with either Liferea itself or something I did to my Slackware install.
I first removed Liferea and switched over to QuiteRSS and have not had any issues since. Also, very recently I did a reinstall of Slackware 14.2 on my daily rig here, and have not tested Liferea since I have been fairly happy with QuiteRSS. So it could possibly have been either one of those things.
|
|
|
02-13-2019, 05:58 PM
|
#13
|
Senior Member
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634
|
Quote:
Originally Posted by chris.willing
Further to @abga's suggestion to run
Code:
/usr/sbin/update-ca-certificates --fresh
which solved an entirely different issue for me (connection problem using a VLC addon) ...
Since certificates from letsencrypt have a relatively short lifetime, maybe more servers are out there with certificates being renewed quite often. To accommodate this, should we be running update-ca-certificates as a matter of course - even regularly via a cron job?
chris
|
There is already a script, executed by crond everyday, that should warn about the certificates expiration, but I'm not sure it's working right. Inspected it some time ago and played with it even now and still not sure if it actually works, as it looks for some unavailable patterns in /etc/ssl/certs/ca-certificates.crt
This script is /etc/cron.daily/certwatch and it might have been designed for older /etc/ssl/certs/ca-certificates.crt formats.
Nevertheless, you can use it (instead of writing a new one) and add the following line to the end of the script:
Code:
/usr/sbin/update-ca-certificates --fresh 2>&1 | /usr/bin/logger -t "Certificates Update:"
|
|
|
All times are GMT -5. The time now is 06:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|