Skip to content

Commit

Permalink
add min version as TLS 1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway committed Jun 28, 2023
1 parent 96aeea2 commit 1985bd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/app/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func createGRPCCreds(certPath, keyPath string) (grpc.ServerOption, error) {

return grpc.Creds(credentials.NewTLS(&tls.Config{
Certificates: []tls.Certificate{cert},
MinVersion: tls.VersionTLS13,
})), nil
}

Expand Down

0 comments on commit 1985bd7

Please sign in to comment.