diff --git a/.github/workflows/ipa-acme-test.yml b/.github/workflows/ipa-acme-test.yml index ffff1f55d35..16330f6e457 100644 --- a/.github/workflows/ipa-acme-test.yml +++ b/.github/workflows/ipa-acme-test.yml @@ -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 | awk -F: '/ipacaid/ { print $2; }') + 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 \