Skip to content

Commit

Permalink
Remove deprecated "update-ca-trust force-enable" call
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
lubosmj committed Aug 20, 2024
1 parent 3bcaf16 commit f118018
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion images/s6_assets/init/certs
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit f118018

Please sign in to comment.