Skip to content

Commit

Permalink
Set a maximum TLS version for client connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Leland Garofalo committed Jan 8, 2025
1 parent f71bc48 commit df22f52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func NewServer(config *ServeConfig, cert tls.Certificate, keylessCA *x509.CertPo
tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
},
MaxVersion: tls.VersionTLS12,
},
keys: NewDefaultKeystore(),
dispatcher: rpc.NewServer(),
Expand Down

0 comments on commit df22f52

Please sign in to comment.