mirror of
https://github.com/fatedier/frp.git
synced 2025-08-02 12:07:20 +00:00
initialize tls config with TLS 1.2
This commit is contained in:
@@ -104,7 +104,8 @@ func (p *HTTPS2HTTPPlugin) genTLSConfig() (*tls.Config, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
config := &tls.Config{Certificates: []tls.Certificate{cert}}
|
||||
config := &tls.Config{Certificates: []tls.Certificate{cert}, MinVersion: tls.VersionTLS12}
|
||||
|
||||
return config, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user