mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
As the default value is TLS 1.0, which is considered insecure, it is recommended to explicitly set the MinVersion to a secure version of TLS
This commit is contained in:
@@ -153,7 +153,7 @@ func NewInsecure(t *testing.T, setters ...OptionSetter) *httpexpect.Expect {
|
||||
setter.Set(conf)
|
||||
}
|
||||
transport := &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // lint:ignore
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true, MinVersion: tls.VersionTLS11}, // lint:ignore
|
||||
}
|
||||
|
||||
testConfiguration := httpexpect.Config{
|
||||
|
||||
Reference in New Issue
Block a user