With the understanding that most people will not have a valid cert or self signed cert I have disabled the SSL warnings.

Added a SSL option to the Plex settings and added unit test to cover this.
This commit is contained in:
Jamie Rees 2016-03-17 20:36:27 +00:00
commit e6d67c7320
6 changed files with 41 additions and 8 deletions

View file

@ -25,6 +25,7 @@
// ************************************************************************/
#endregion
using System.Net;
using FluentScheduler;
using Mono.Data.Sqlite;
@ -114,6 +115,9 @@ namespace PlexRequests.UI
FormsAuthentication.Enable(pipelines, formsAuthConfiguration);
ServicePointManager.ServerCertificateValidationCallback +=
(sender, certificate, chain, sslPolicyErrors) => true;
}