1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +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:
Gerasimos (Makis) Maropoulos
2022-03-06 19:43:09 +02:00
parent 410e5eae83
commit a5c43f1d9d
5 changed files with 6 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ func TestProxy(t *testing.T) {
config := &tls.Config{
InsecureSkipVerify: true,
MinVersion: tls.VersionTLS11,
MaxVersion: tls.VersionTLS12,
}
proxy := host.NewProxy("", u, config)