From 594f417bdf6f49e145f1937af99e849377412354 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 4 Jun 2020 17:49:37 +0200 Subject: Adapt https/web-config.yml (#1734) Currently web-config is not a valid yaml and is an incomplete reference. Keep the reference in README.md and create a minimalist web-config.yml that acts as an exemple. Signed-off-by: Julien Pivotto --- https/web-config.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'https') diff --git a/https/web-config.yml b/https/web-config.yml index 9937291..7d40d9b 100644 --- a/https/web-config.yml +++ b/https/web-config.yml @@ -1,11 +1,6 @@ -tls_config: - # Certificate and key files for server to use to authenticate to client - cert_file: - key_file: +# Minimal TLS configuration example. Additionally, a certificate and a key file +# are needed. +tls_server_config: + cert_file: server.crt + key_file: server.key - # Server policy for client authentication. Maps to ClientAuth Policies - # For more detail on clientAuth options: [ClientAuthType](https://golang.org/pkg/crypto/tls/#ClientAuthType) - [ client_auth_type: | default = "NoClientCert" ] - - # CA certificate for client certificate authentication to the server - [ client_ca_file: ] -- cgit v1.2.3