Skip to content

Commit

Permalink
EL9 distrust-dir changed from backlist to blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
h-haaks committed Jun 5, 2024
1 parent 225f641 commit 41381ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/RedHat-family-9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
ca_cert::distrusted_cert_dir: '/etc/pki/ca-trust/source/blocklist'
6 changes: 5 additions & 1 deletion spec/acceptance/ca_cert_ca_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
when 'RedHat'
trusted_ca_file_remote = '/etc/pki/ca-trust/source/anchors/DigiCert_G5_TLS_ECC_SHA384_2021_CA1.crt'
trusted_ca_file_text = '/etc/pki/ca-trust/source/anchors/InCommon.crt'
untrusted_ca_file_remote = '/etc/pki/ca-trust/source/blacklist/DigiCert_Global_Root_G3.crt'
if host_inventory['facter']['os']['release']['major'] < '9'

Check failure on line 12 in spec/acceptance/ca_cert_ca_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
untrusted_ca_file_remote = '/etc/pki/ca-trust/source/blacklist/DigiCert_Global_Root_G3.crt'
else
untrusted_ca_file_remote = '/etc/pki/ca-trust/source/blocklist/DigiCert_Global_Root_G3.crt'
end
ca_certificates_bundle = '/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem'
when 'Archlinux'
trusted_ca_file_remote = '/etc/ca-certificates/trust-source/anchors/DigiCert_G5_TLS_ECC_SHA384_2021_CA1.crt'
Expand Down

0 comments on commit 41381ed

Please sign in to comment.