Skip to content

Commit ec69c5f

Browse files
committed
Disable custom server certificate validation due to xplat issue
https://github.com/dotnet/corefx/issues/9728
1 parent cff7bcb commit ec69c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptionless/Submission/DefaultSubmissionClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private HttpClient CreateHttpClient(string userAgent) {
127127
#else
128128
var handler = new HttpClientHandler { UseDefaultCredentials = true };
129129
#if !PORTABLE && !NETSTANDARD1_2
130-
handler.ServerCertificateCustomValidationCallback = delegate { return true; };
130+
//handler.ServerCertificateCustomValidationCallback = delegate { return true; };
131131
#endif
132132
#endif
133133

0 commit comments

Comments
 (0)