LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-01-2018, 06:42 AM   #1
PreguntoYo
Member
 
Registered: Jan 2012
Distribution: openSUSE, Gentoo, Slackware
Posts: 73

Rep: Reputation: 15
Question Adding CAcert root certificates to your Slackware


I've been reading Alien BOB's instructions for adding CAcert root certificates to my Slacware:


https://alien.slackbook.org/blog/adding-cacert-root-certificates-to-your-slackware/


But I have a question.

Wouldn't it be better:
  1. Copy CAcert's files (with .crt extension) in /usr/local/share/ca-certificates/
  2. Run /usr/sbin/update-ca-certificates --fresh

Anyway, when the package ca-certificates-YYYYMMDD-noarch-n_slacknn.n.txz gets updated, the links will be deleted and lost. Or am I wrong with something?

Last edited by PreguntoYo; 08-01-2018 at 06:44 AM. Reason: Ortography
 
Old 08-02-2018, 09:31 PM   #2
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by PreguntoYo View Post
I've been reading Alien BOB's instructions for adding CAcert root certificates to my Slacware:


https://alien.slackbook.org/blog/adding-cacert-root-certificates-to-your-slackware/


But I have a question.

Wouldn't it be better:

Copy CAcert's files (with .crt extension) in /usr/local/share/ca-certificates/
Why would this be better? Some of us don't use /usr/local.

Quote:
Anyway, when the package ca-certificates-YYYYMMDD-noarch-n_slacknn.n.txz gets updated, the links will be deleted and lost. Or am I wrong with something?
Links are not deleted or lost.
 
Old 08-05-2018, 07:38 AM   #3
PreguntoYo
Member
 
Registered: Jan 2012
Distribution: openSUSE, Gentoo, Slackware
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by chrisretusn View Post
Why would this be better? Some of us don't use /usr/local.

Links are not deleted or lost.
This works different than I expected...

I thought that on every update of the ca-certificates package all the links in /etc/ssl/certs/ would be deleted after a new /etc/ca-certificates.conf would be read and processed. So, the links to the CAcert root and class 3 .crt files would be lost.

To my surprise, after deleting the two links to the .crt files placed in /etc/ssl/certs/, /usr/sbin/update-ca-certificates --fresh (which is called by doinst.sh) linked them again.

I thought these files would only be linked again if placed under /usr/local/share/ca-certificates/

If done so, the resulting hashes in /etc/ssl/certs/ link to two .pem files which are also links to the certificates in /usr/local/share/ca-certificates/

An unexpected result, and where's the difference?
 
  


Reply

Tags
alien pastures, openssl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] updating to latest root-CA certificates in slackware 13.37 srgrn Slackware 6 07-18-2011 07:49 PM
cacert certificates entz General 11 07-05-2011 12:10 PM
How to import/use CAcert SSL root certificate to use SSL with Xchat IRC client? GrapefruiTgirl Linux - Software 9 04-05-2011 09:54 AM
LXer: Adding Custom Certificates To CIITIX-WiFi LXer Syndicated Linux News 0 07-26-2010 08:00 AM
SSL Certificates and root authorities antken General 2 01-24-2003 10:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration