Commit fda9c2e
Fix migration test: CA cert needs cRLSign key usage
Two issues fixed:
1. The synthetic CA cert in integration-compose.sh group 19 was created
with `openssl req -x509 -new` without specifying key usage extensions.
Go's x509.CreateRevocationList (since Go 1.20) requires the issuer
cert to have the cRLSign key usage bit set, causing Revoke() to fail
with HTTP 409 and the subsequent status check to show "signed" instead
of "revoked".
Fix: add an OpenSSL extensions config that includes
basicConstraints=CA:TRUE and keyUsage=keyCertSign,cRLSign, matching
what a real Puppet Server CA would have.
2. compose-migration.yml test-runner service referenced
puppet-ca-integ:latest without a build directive, causing
`docker compose build` to skip it and `up` to fail with a pull error.
Fix: add build context pointing to Dockerfile.run, consistent with
how compose.yml defines the same image.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fc81adc commit fda9c2e
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1704 | 1704 | | |
1705 | 1705 | | |
1706 | 1706 | | |
| 1707 | + | |
| 1708 | + | |
1707 | 1709 | | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
1708 | 1719 | | |
1709 | 1720 | | |
1710 | 1721 | | |
1711 | 1722 | | |
| 1723 | + | |
1712 | 1724 | | |
1713 | 1725 | | |
1714 | 1726 | | |
| |||
0 commit comments