Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
add tls min version
Browse files Browse the repository at this point in the history
  • Loading branch information
y-eight committed Nov 16, 2022
1 parent 3289291 commit c21907b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func LoadServerTLSCredentials(serverCert_path string, serverKey_path string, ser
config := &tls.Config{
Certificates: []tls.Certificate{serverCert},
ClientAuth: tls.NoClientCert,
MinVersion: tls.VersionTLS12,
}

return config, nil
Expand Down

0 comments on commit c21907b

Please sign in to comment.