You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Caddy 2.11.4 - index out of range panic when loading root ca cert fails #7895
pki {
ca my_ca {
root {
format pem_file
cert my-ca.pem
}
intermediate {
format pem_file
cert my-intermediate-ca.pem
key my-intermediate-ca.key
}
}
}
My root ca.pem is currently failing to load (for a reason yet unknown, afaik 2.11.2 worked and I skipped 2.11.3 due to mtls issue), triggering an index out of range panic:
Activity
etinquis commentedon Jul 19, 2026
2.11.2 behavior is the same with the same cert, so disregard that note.
etinquis commentedon Jul 19, 2026
Root cause of the load failure was borked filesystem permissions on my end, so no new issue with respect to the certificate load itself.
pki: Handle error immediately after reading root from disk
hslatman commentedon Jul 19, 2026
I've opened #7896 for this.
pki: Handle error immediately after reading root from disk (caddyserv…