Skip to content

Commit

Permalink
Fix DigiCert root cert to match fully patched Solaris 11.4
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yachub committed Nov 1, 2022
1 parent c7dee9f commit 12e6436
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup/common/003_solaris_cert_fix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 12e6436

Please sign in to comment.