Skip to content

Commit cf1039b

Browse files
author
Oleg Koloskov
committed
fix
1 parent c162a3a commit cf1039b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Common/Parser.Core/Logic/ParserBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ protected virtual HttpClient FillClient(HttpClient client) {
4444
protected virtual HttpClient GetBaseClient(IParserConfigBase config) {
4545
var handler = new HttpClientHandler {
4646
AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate | DecompressionMethods.Brotli,
47-
UseProxy = false
47+
UseProxy = false,
48+
ServerCertificateCustomValidationCallback = (_, _, _, _) => true,
4849
};
4950

5051
if (!string.IsNullOrEmpty(config.Proxy)) {

0 commit comments

Comments
 (0)