From 86984bbae36cfd2d46237ba68923cc650e9fda35 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 7 Jul 2013 10:27:11 -0700 Subject: [PATCH] Added cert override for integration tests --- NzbDrone/Owin/OwinHostController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NzbDrone/Owin/OwinHostController.cs b/NzbDrone/Owin/OwinHostController.cs index 4bc6886f7..c462cf446 100644 --- a/NzbDrone/Owin/OwinHostController.cs +++ b/NzbDrone/Owin/OwinHostController.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using Microsoft.Owin.Hosting; using NLog; +using NzbDrone.Common.Security; using NzbDrone.Core.Configuration; using NzbDrone.Owin.MiddleWare; using Owin; @@ -25,6 +26,8 @@ namespace NzbDrone.Owin public void StartServer() { + IgnoreCertErrorPolicy.Register(); + var url = "http://*:" + _configFileProvider.Port; var options = new StartOptions(url)