From 74ca02edfdce5bdcdbe32b1e8ad459034ffc6597 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 15 Oct 2023 23:06:10 +0100 Subject: [PATCH] Don't require TLS client certificate --- src/core/tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tls.go b/src/core/tls.go index 8a17b40..0ac7e87 100644 --- a/src/core/tls.go +++ b/src/core/tls.go @@ -8,7 +8,7 @@ import ( func (c *Core) generateTLSConfig(cert *tls.Certificate) (*tls.Config, error) { config := &tls.Config{ Certificates: []tls.Certificate{*cert}, - ClientAuth: tls.RequireAnyClientCert, + ClientAuth: tls.NoClientCert, GetClientCertificate: func(cri *tls.CertificateRequestInfo) (*tls.Certificate, error) { return cert, nil },