Skip to content

Commit

Permalink
Fix IPA Clone checks
Browse files Browse the repository at this point in the history
Some parameber are modified after the CRL move from the primary to the
secondary. These are:
  - ca.listenToCloneModifications
  - ca.certStatusUpdateInterval
  • Loading branch information
fmarco76 authored and edewata committed Jul 3, 2024
1 parent b3e5b57 commit bfb3e0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ipa-clone-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ jobs:
sed -e 's/^\(ca.crl.MasterCRL.enable\)=.*$/\1=false/' \
-e 's/^\(ca.crl.MasterCRL.enableCRLCache\)=.*$/\1=false/' \
-e 's/^\(ca.crl.MasterCRL.enableCRLUpdates\)=.*$/\1=false/' \
-e 's/^\(ca.listenToCloneModifications\)=.*$/\1=false/' \
-e '$ a ca.certStatusUpdateInterval=0' \
CS.cfg.primary.after-renewal-update \
| sort > expected
Expand All @@ -520,11 +522,13 @@ jobs:
sed -e 's/^\(ca.crl.MasterCRL.enable\)=.*$/\1=true/' \
-e 's/^\(ca.crl.MasterCRL.enableCRLCache\)=.*$/\1=true/' \
-e 's/^\(ca.crl.MasterCRL.enableCRLUpdates\)=.*$/\1=true/' \
-e 's/^\(ca.listenToCloneModifications\)=.*$/\1=true/' \
CS.cfg.secondary.after-renewal-update \
| sort > expected
# normalize actual result
sort CS.cfg.secondary.after-crl-update > actual
sed -e '$ a ca.certStatusUpdateInterval=0' \
CS.cfg.secondary.after-crl-update | sort > actual
diff expected actual
Expand Down

0 comments on commit bfb3e0e

Please sign in to comment.