mirror of
https://github.com/fatedier/frp.git
synced 2025-06-17 17:18:21 +00:00
initialize tls config with TLS 1.2
This commit is contained in:
parent
ee3892798d
commit
cc0b486474
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user