Skip to content

Commit

Permalink
Merge pull request #202 from yachub/maint/fix_duplicate_solaris_cert
Browse files Browse the repository at this point in the history
Fix DigiCert root cert to match fully patched Solaris 11.4
  • Loading branch information
ekohl authored Nov 1, 2022
2 parents c7dee9f + 12e6436 commit 98314b0
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 98314b0

Please sign in to comment.