Skip to content

Commit

Permalink
request but do not verify client certs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnabass committed Apr 23, 2024
1 parent 5a68ab4 commit 01698f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xhttp/xhttpserver/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func NewTlsConfig(t *Tls, extra ...PeerVerifier) (*tls.Config, error) {
}

tc.ClientCAs = caCertPool
tc.ClientAuth = tls.RequireAndVerifyClientCert
tc.ClientAuth = tls.RequestClientCert
}

tc.BuildNameToCertificate() // nolint: staticcheck
Expand Down

0 comments on commit 01698f8

Please sign in to comment.