|
@@ -1439,6 +1439,8 @@ func ListenAndServe(proto, addr string, job *engine.Job) error {
|
|
|
tlsConfig := &tls.Config{
|
|
|
NextProtos: []string{"http/1.1"},
|
|
|
Certificates: []tls.Certificate{cert},
|
|
|
+ // Avoid fallback on insecure SSL protocols
|
|
|
+ MinVersion: tls.VersionTLS10,
|
|
|
}
|
|
|
if job.GetenvBool("TlsVerify") {
|
|
|
certPool := x509.NewCertPool()
|