From 12e6436c2a7a3edaf00ac25d1487f636edab4b07 Mon Sep 17 00:00:00 2001 From: Jake Spain Date: Tue, 1 Nov 2022 16:02:24 -0400 Subject: [PATCH] Fix DigiCert root cert to match fully patched Solaris 11.4 The DigiCert root CA G4 cert is named `DigiCert_Trusted_Root_G4.pem` on a fully patched Solaris 11.4 system. This resolves a duplicate certificate error after restarting ca-certificates. --- setup/common/003_solaris_cert_fix.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/common/003_solaris_cert_fix.rb b/setup/common/003_solaris_cert_fix.rb index 92e46f9..6d80852 100644 --- a/setup/common/003_solaris_cert_fix.rb +++ b/setup/common/003_solaris_cert_fix.rb @@ -72,10 +72,10 @@ hosts.each do |host| next unless host.platform =~ /solaris-11(\.2)?-(i386|sparc)/ - create_remote_file(host, "DigiCertTrustedRootG4.crt.pem", DigiCert) - on(host, 'chmod a+r /root/DigiCertTrustedRootG4.crt.pem') - on(host, 'cp -p /root/DigiCertTrustedRootG4.crt.pem /etc/certs/CA/') - on(host, 'rm /root/DigiCertTrustedRootG4.crt.pem') + create_remote_file(host, "DigiCert_Trusted_Root_G4.pem", DigiCert) + on(host, 'chmod a+r /root/DigiCert_Trusted_Root_G4.pem') + on(host, 'cp -p /root/DigiCert_Trusted_Root_G4.pem /etc/certs/CA/') + on(host, 'rm /root/DigiCert_Trusted_Root_G4.pem') if host.platform=~ /solaris-11-sparc/ create_remote_file(host, "USERTrust_RSA_Certification_Authority.pem", USERTrust)