Skip to content

Commit

Permalink
feat: reduce minimum TLS version to TLS 1.2 from TLS 1.3 to increase …
Browse files Browse the repository at this point in the history
…client support
  • Loading branch information
a-h committed Feb 25, 2021
1 parent 41a24bf commit 9c7f09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (srv *Server) serveInsecure(l net.Listener) (err error) {

func (srv *Server) serveTLS(l net.Listener) (err error) {
config := &tls.Config{
MinVersion: tls.VersionTLS13,
MinVersion: tls.VersionTLS12,
ClientAuth: tls.RequestClientCert,
InsecureSkipVerify: true,
GetCertificate: func(hello *tls.ClientHelloInfo) (*tls.Certificate, error) {
Expand Down

0 comments on commit 9c7f09e

Please sign in to comment.