From f118018550e6d3e61675f62fe6f30922056830c6 Mon Sep 17 00:00:00 2001 From: Lubos Mjachky Date: Tue, 20 Aug 2024 14:18:50 +0200 Subject: [PATCH] Remove deprecated "update-ca-trust force-enable" call According to the docs, it is sufficient just to call "update-ca-trust extract" which instructs update-ca-trust to scan the SOURCE CONFIGURATION and produce updated versions of the consolidated configuration files stored below the /etc/pki/ca-trust/extracted directory hierarchy. https://www.unix.com/man-page/centos/8/update-ca-trust/ [noissue] --- images/s6_assets/init/certs | 1 - 1 file changed, 1 deletion(-) diff --git a/images/s6_assets/init/certs b/images/s6_assets/init/certs index 995e38b3..091b0211 100755 --- a/images/s6_assets/init/certs +++ b/images/s6_assets/init/certs @@ -35,7 +35,6 @@ if ! [ -e /etc/pki/tls/certs/pulp_webserver.crt ]; then cp /etc/pulp/certs/pulp_webserver.crt /etc/pki/tls/certs/pulp_webserver.crt cp /etc/pulp/certs/pulp_webserver.csr /etc/pki/tls/private/pulp_webserver.csr cp /etc/pulp/certs/pulp_webserver.key /etc/pki/tls/private/pulp_webserver.key - update-ca-trust force-enable update-ca-trust extract cat /etc/pulp/certs/pulp_webserver.crt >> /etc/pki/tls/cert.pem echo -e "${PREFIX} ${GREEN}finished adding webserver certificate to the certificate store${ENDCOLOR}"