Article 53224 Problems with ca-certificates package: SSL certificate problem

Problems with ca-certificates package: SSL certificate problem

by
slac
from LinuxQuestions.org on (#53224)
I am having problems with the package ca-certificates.*.txz that is inside of the n package series.

I am trying to automatize the Slackware installation. For now, I have very simple script to make some tests. The processes to do that is simple:
  • I make the disk partitions
  • Mount the root partition on /mnt
  • Mount the installation media in, ie: /othermnt
... and then I execute the following script:

Code:#!/bin/sh

for serie in a ap d l n x; do
for package in /othermnt/slackware64/${serie}/*.t?z; do
installpkg --root /mnt --priority ADD ${package}
done
doneAfter all the packages have installed I make some further configurations to the system using: chroot /mnt
  • Preparing the file /etc/fstab
  • Generating an initrd file
  • Installing the bootloader
  • Create a password for the root user
... and other things, in order to be able to boot up successfully after reboot.

I am able to boot up the system successfully and there are no errors showing up while booting the system BUT, here is when it comes the problem and it is that I cannot make HTTPS requests, whether using a text browser such as links or trying to clone repositories with git, a message like this appears:

Code:SSL certificate problem: unable to get local issuer certificateI get that error by executing, ie:

Code:git clone https://git.suckless.org/dwmI checked at: /var/lib/pkgtools/packages and the ca-certificates*.txz package is shown there, so I guess it got installed before correctly besides no error was shown during my slackware installation.

I found what to do about it and it is to re-install the same package, from the same ISO I used to make the initial slackware installation, and apparently now I can use HTTPS normally.

HOWEVER, why does this happen? It does not make sense at all... Maybe I am missing something that the normal "setup" slackware installation script does that does not show up while selecting options and showing boxes... I really do not know why, this is the only package that is giving me trouble for some reason, no error output is printed. If somebody knows, please, let me know.latest?d=yIl2AUoC8zA latest?i=a646I7jPDGw:9sU1v_diNbA:F7zBnMy latest?i=a646I7jPDGw:9sU1v_diNbA:V_sGLiP latest?d=qj6IDK7rITs latest?i=a646I7jPDGw:9sU1v_diNbA:gIN9vFwa646I7jPDGw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments