Hi Dean,
That is interesting - on my system (which had earlier
ca-certificates-2020.06.01-0.aix7.1.ppc.rpm installed first via the DNF installer, then an upgrade via DNF to
2021.2.52-1) the links are working. As does updtvpkg.
# rpm -qa|grep ca-certificates
ca-certificates-2021.2.52-1.ppc
# ls -l /var/ssl/certs
lrwxrwxrwx 1 root system 27 Jun 02 21:32 /var/ssl/certs -> /opt/freeware/etc/ssl/certs
# ls -l /opt/freeware/etc/ssl/certs/ca-bundle.crt
lrwxrwxrwx 1 root system 59 Jun 02 21:32 /opt/freeware/etc/ssl/certs/ca-bundle.crt -> /opt/freeware/etc/ssl/certs/extracted/pem/tls-ca-bundle.pem
# updtvpkg
Please wait...
#
It may have different behaviour based on how it is installed?
------------------------------
Alan
------------------------------
Original Message:
Sent: Thu June 02, 2022 05:14 PM
From: Dean Rowswell
Subject: ca-certificates 2021.2.52-1 is deleting all certificates from /varl/ssl/certs not provided by itself
Hi - another issue with the new ca-certificates is after it is installed the /var/ssl/certs symbolic links points to/opt/freeware/etc/ssl/certs/ca-bundle.crt
This file is removed:
ls -l /opt/freeware/etc/ssl/certs/ca-bundle.crt
ls: cannot access '/opt/freeware/etc/ssl/certs/ca-bundle.crt': A file or directory in the path name does not exist.
At this point running "updtvpkg" fails.
I created this symlink get around the issue:
rowswell@P720_01_NIM:/opt/freeware/etc/ssl/certs:$ s ln -s /opt/freeware/etc/ssl/certs/extracted/pem/tls-ca-bundle.pem ca-bundle.crt
------------------------------
Dean Rowswell
Original Message:
Sent: Thu June 02, 2022 10:43 AM
From: Ayappan P
Subject: ca-certificates 2021.2.52-1 is deleting all certificates from /varl/ssl/certs not provided by itself
The post install script of the new ca-certificates does lot of messy things. We are working on it.
Once we fix them, we will update the fixed ca-certificates in Toolbox.
------------------------------
Ayappan P
Original Message:
Sent: Wed June 01, 2022 08:47 PM
From: Alan
Subject: ca-certificates 2021.2.52-1 is deleting all certificates from /varl/ssl/certs not provided by itself
We use a local copy of the AIX RPM repository, which I recently updated from the latest published by IBM.
This included ca-certificates version 2021.2.52-1. This I installed with DNF successfully from our local RPM repository- and then immediately all DNF commands started failing as the custom certificates we have installed in /var/ssl/certs to allow authentication to our local RPM repository were deleted (or more accurately, moved to /var/ssl/certs.orig)
This behaviour is different to previous ca-certificates versions. ca-certificates updates should be limited to managing itself, not deleting other added certificates?
Is this behaviour expected? Other than manually restoring the certificates each time, is there a better way to be managing this?
------------------------------
Alan
------------------------------