Skip to content

Commit 17b0c4c

Browse files
authored
Remove SSL errors check. (#26973)
1 parent f0b0131 commit 17b0c4c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/TestFx/EnvironmentSetupHelper.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ public EnvironmentSetupHelper()
130130

131131
AzureSession.Instance.DataStore = datastore;
132132

133-
// Ignore SSL errors
134-
System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => true;
135-
136133
if (File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), Resources.AzureDirectoryName, "testcredentials.json")))
137134
{
138135
SetEnvironmentVariableFromCredentialFile();

0 commit comments

Comments
 (0)