From 680bc5985739f0a33fb3c570557c5de132818898 Mon Sep 17 00:00:00 2001 From: Pedro Cunha Date: Thu, 12 Dec 2024 14:47:42 +0000 Subject: [PATCH] tls: Replace usage of deprecated field `trusted_ca_cert_file` --- src/docs/markdown/caddyfile/directives/tls.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/docs/markdown/caddyfile/directives/tls.md b/src/docs/markdown/caddyfile/directives/tls.md index 5d9c0ff..c82cc4e 100644 --- a/src/docs/markdown/caddyfile/directives/tls.md +++ b/src/docs/markdown/caddyfile/directives/tls.md @@ -508,15 +508,14 @@ 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 + mode require_and_verify + trust_pool file ../caddy.ca.cer ../root.ca.cer } } }