Skip to content

Commit

Permalink
Add a test to specify authority ID in ACME configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Bokovoy <[email protected]>
  • Loading branch information
abbra authored and fmarco76 committed Nov 18, 2024
1 parent d357aed commit 4d07685
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ipa-acme-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ jobs:
docker exec ipa bash -c "pki acme-info | sed -n 's/\s*Status:\s\+\(\S\+\).*/\1/p' > ${SHARED}/actual"
diff expected actual
- name: Specify main CA as Authority ID for ACME in IPA container
run: |
caid=$(docker exec ipa ipa -e in_server=true ca-show ipa --raw | sed -n 's/\s*ipacaid:\s\+\(\S\+\).*/\1/p' )
docker exec ipa pki-server acme-issuer-mod --type pki "-Dauthority-id=${caid}"
echo "${caid}" > expected
docker exec ipa bash -c "pki-server acme-issuer-show | sed -n 's/\s*Authority ID:\s\+\(\S\+\).*/\1/p' > ${SHARED}/actual"
diff expected actual
- name: Run client container
run: |
docker run \
Expand Down

0 comments on commit 4d07685

Please sign in to comment.