Skip to content

Commit

Permalink
Remove SSL errors check. (#26973)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidai-msft authored Jan 8, 2025
1 parent f0b0131 commit 17b0c4c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/TestFx/EnvironmentSetupHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ public EnvironmentSetupHelper()

AzureSession.Instance.DataStore = datastore;

// Ignore SSL errors
System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => true;

if (File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), Resources.AzureDirectoryName, "testcredentials.json")))
{
SetEnvironmentVariableFromCredentialFile();
Expand Down

0 comments on commit 17b0c4c

Please sign in to comment.