Skip to content

Commit

Permalink
Don't require TLS client certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander committed Oct 15, 2023
1 parent e110dd4 commit 74ca02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 74ca02e

Please sign in to comment.