From 1325ce3cca0427dfeca8f5339149f4d0458d3447 Mon Sep 17 00:00:00 2001 From: Pedro Cunha Date: Mon, 16 Dec 2024 06:50:11 +0000 Subject: [PATCH] tls: Replace usage of deprecated field `trusted_ca_cert_file` (#430) * tls: Replace usage of deprecated field `trusted_ca_cert_file` * Remove default value --- src/docs/markdown/caddyfile/directives/tls.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/docs/markdown/caddyfile/directives/tls.md b/src/docs/markdown/caddyfile/directives/tls.md index 5d9c0ff..ebfb265 100644 --- a/src/docs/markdown/caddyfile/directives/tls.md +++ b/src/docs/markdown/caddyfile/directives/tls.md @@ -508,15 +508,13 @@ https:// { } ``` -Enable TLS Client Authentication and require clients to present a valid certificate that is verified against all the provided CA's via `trusted_ca_cert_file` +Enable TLS Client Authentication and require clients to present a valid certificate that is verified against all the provided CA's via the [`trust_pool`](#trust_pool) `file` provider: ```caddy example.com { tls { client_auth { - mode require_and_verify - trusted_ca_cert_file ../caddy.ca.cer - trusted_ca_cert_file ../root.ca.cer + trust_pool file ../caddy.ca.cer ../root.ca.cer } } }