mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-24 09:37:03 +01:00
69c2d78f69
Caddyfile parameter "clients" of "tls" henceforth accepts a special first modifier. It is one of, and effects: * request = tls.RequestClientCert * require = tls.RequireAnyClientCert * verify_if_given = tls.VerifyClientCertIfGiven * (none) = tls.RequireAndVerifyClientCert The use-case for this is as follows: A middleware would serve items to the public, but if a certificate were given the middleware would permit file manipulation. And, in a different plugin such as a forum or blog, not verifying a client cert would be nice for registration: said blog would subsequently only compare the SPKI of a client certificate. |
||
---|---|---|
.. | ||
certificates.go | ||
certificates_test.go | ||
client.go | ||
crypto.go | ||
crypto_test.go | ||
handler.go | ||
handler_test.go | ||
handshake.go | ||
handshake_test.go | ||
https.go | ||
https_test.go | ||
maintain.go | ||
setup.go | ||
setup_test.go | ||
storage.go | ||
storage_test.go | ||
user.go | ||
user_test.go |