SIGN IN SIGN UP
caddyserver / caddy UNCLAIMED

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

0 0 104 Go

caddytls: Return errors instead of nil in client auth provisioning (#7464)

Two error returns in ClientAuthentication.provision() were
returning nil instead of the actual error, silently swallowing
failures when converting PEM files to DER and when provisioning
the CA pool. This could cause mTLS client authentication to
silently fall back to the system trust store, accepting any
client certificate signed by a public CA instead of restricting
to the configured trust anchors.
M
moscowchill committed
d42d39b4bc237c628f9a95363b28044cb7a7fe72
Parent: 0188ef2
Committed by GitHub <noreply@github.com> on 2/12/2026, 3:42:54 PM