Steps to Reproduce
Build and run tests. Is this a race condition perhaps? It doesn't seem to always happen.
Your Environment
- OS - Debian GNU/Linux trixie
step-ca Version - 0.30.2
Expected Behavior
PASS
Actual Behavior
414s === RUN TestBootstrapClientServerRotation
414s 2026/06/15 15:54:52 Building new tls configuration using step-ca x509 Signer Interface
414s 2026/06/15 15:54:52 Serving HTTPS on 127.0.0.1:33803 ...
414s 2026/06/15 15:54:59 Building new tls configuration using step-ca x509 Signer Interface
414s 2026/06/15 15:55:00 Serving HTTPS on 127.0.0.1:33803 ...
414s 2026/06/15 15:55:05 Building new tls configuration using step-ca x509 Signer Interface
414s 2026/06/15 15:55:05 Serving HTTPS on 127.0.0.1:33803 ...
414s 2026/06/15 15:55:08 http: TLS handshake error from 127.0.0.1:56786: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2026-06-15T15:55:08Z is after 2026-06-15T15:55:08Z
414s bootstrap_test.go:496: Test with rotate-ca-2.json failed: client.Get(https://127.0.0.1:38309) failed: Get "https://127.0.0.1:38309": remote error: tls: expired certificate
414s 2026/06/15 15:55:13 Building new tls configuration using step-ca x509 Signer Interface
414s 2026/06/15 15:55:13 Serving HTTPS on 127.0.0.1:33803 ...
414s --- FAIL: TestBootstrapClientServerRotation (21.55s)
Additional Context
Complete build log: https://ci.debian.net/packages/g/golang-github-smallstep-certificates/testing/ppc64el/72117800/#L9335
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Steps to Reproduce
Build and run tests. Is this a race condition perhaps? It doesn't seem to always happen.
Your Environment
step-caVersion - 0.30.2Expected Behavior
PASS
Actual Behavior
Additional Context
Complete build log: https://ci.debian.net/packages/g/golang-github-smallstep-certificates/testing/ppc64el/72117800/#L9335
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).