Repository navigation
Description
Summary
Since ~2026-07-19 23:00 UTC, self-hosted runners on macOS cannot connect to GitHub Actions. BrokerMessageListener (and RunnerServer) fail every attempt with:
System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid
The runner stays in a 30s retry loop and jobs remain queued forever. Runs completed normally until 2026-07-19 22:59 UTC on the same host.
Environment
- Runner: 2.335.1 (self-updated from 2.334.0; issue present on latest)
- OS: macOS (Darwin 25.5.0), Apple Silicon (osx-arm64)
- Two independent runners on the same host (different repos) fail identically
- No proxy (
scutil --proxyempty, no proxy env), system clock correct (verified against log timestamps)
What the broker serves
broker.actions.githubusercontent.com now serves the Let's Encrypt "Generation Y" hierarchy:
0: CN=*.actions.githubusercontent.com (notBefore Jul 10 2026, notAfter Oct 8 2026)
1: C=US, O=Let's Encrypt, CN=YR2 (notBefore Sep 3 2025, notAfter Sep 2 2028)
2: C=US, O=ISRG, CN=Root YR (cross-signed by ISRG Root X1; notBefore May 13 2026)
All three certificates are currently time-valid.
Diagnosis performed (all of it — the OS trust is provably healthy)
curl -v https://broker.actions.githubusercontent.com→ verifies OK (path to ISRG Root X1, which is in the system roots).- Dumped the exact served chain and ran
security verify-cert -c leaf -c yr2 -c rootyr -p ssl -s broker.actions.githubusercontent.com→ verifies OK via Security.framework. - Installed the official self-signed ISRG Root YR and ISRG Root YE roots (downloaded from letsencrypt.org, SPKI SHA-256 verified against the served cross-cert:
7e4e8838a8add6295de7ae3b047d3aba3488ab95db0a0aa56d897a00d8618bcf) astrustRootin both the user login keychain and/Library/Keychains/System.keychain→ runner still fails. - Full OS reboot (flushes
trustdtrust-verdict caches) → runner still fails, same error on first post-boot attempts. - Checked all keychains for expired intermediates (none relevant), checked
~/actions-runner/.env(no proxy), runner already at latest version.
So: Security.framework validates the served chain, but the runner's bundled .NET 8 SslStream/X509 chain engine rejects it with NotTimeValid. This looks like a .NET-8-on-macOS chain-building defect against the new Gen-Y hierarchy (possibly picking/evaluating a wrong path). Notably similar in spirit to #3505, where runner TLS failures were only fixed by .NET 9.
Related community report of Gen-Y chains breaking Actions environments: https://jens.dev/2026/06/10/letsencrypt-gen-y.html
Impact / workaround
- All self-hosted macOS runners hitting edges that serve the Gen-Y chain go permanently offline (jobs stuck
queued). - No client-side workaround found (trusting the new roots does not help; reboot does not help). We fell back to running our deploys locally, bypassing Actions.
Ask
- Bump the bundled .NET to a version that handles the Gen-Y chain on macOS, or
- Coordinate the certificate rotation on
*.actions.githubusercontent.comuntil released runners can validate it.
Activity
TingluoHuang commentedon Jul 23, 2026
Caused by incident: https://www.githubstatus.com/incidents/8vfyvq16hzh9