Client certificate authentication

Hi!

Is there a known way to allow Caddy to request and validate client certificates?

I plan to use this for a secure area, wanted to know if I could rely on caddy for it. :slight_smile:

Thanks!

Hello @marcoslater,

Yes :smile:https://caddyserver.com/docs/tls

tls [cert key] {
    clients   [request|require|verify_if_given|] clientcas...
}

Note: https://github.com/mholt/caddy/issues/829 and https://github.com/golang/go/issues/15707

Huh! That page changed since the last time I looked!

Blazing fast development here. :smile:

Thank you!

2 Likes

A post was split to a new topic: Client certificate authentication in Caddy v2