From 02200007f6060f6ba05e553c8e6d04a9665a8b70 Mon Sep 17 00:00:00 2001 From: Johnny Graettinger Date: Fri, 11 Oct 2024 13:49:58 -0500 Subject: [PATCH] server: update TLS config to not request a client cert at all This was causing issues on Windows 11, which would give users pop-ups for them to select a client certificate to send to us. --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index c5f8dedd..293982d4 100644 --- a/server/server.go +++ b/server/server.go @@ -168,7 +168,7 @@ func New( func BuildTLSConfig(certPath, keyPath, trustedCAPath string) (*tls.Config, error) { var tlsConfig = &tls.Config{ - ClientAuth: tls.VerifyClientCertIfGiven, + ClientAuth: tls.NoClientCert, } // Load a presented certificate and key.