From 29a8d72b09c74429c5640b7da6002b1c62baf2da Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 30 Dec 2024 05:08:58 +1300 Subject: [PATCH] mejortorrent: invalid CA --- src/Jackett.Common/Indexers/Definitions/MejorTorrent.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Jackett.Common/Indexers/Definitions/MejorTorrent.cs b/src/Jackett.Common/Indexers/Definitions/MejorTorrent.cs index bd244ea44..c88007b6d 100644 --- a/src/Jackett.Common/Indexers/Definitions/MejorTorrent.cs +++ b/src/Jackett.Common/Indexers/Definitions/MejorTorrent.cs @@ -108,6 +108,12 @@ namespace Jackett.Common.Indexers.Definitions return caps; } + public override void LoadValuesFromJson(JToken jsonConfig, bool useProtectionService = false) + { + base.LoadValuesFromJson(jsonConfig, useProtectionService); + + webclient?.AddTrustedCertificate(new Uri(SiteLink).Host, "BF2968F052B36973DBBF12616E0655D4683A0040"); // invalid CN=www.marcianotorrent.net + } public override async Task ApplyConfiguration(JToken configJson) {