From 8bbec88b6fe88b89a229bb09bfa00525b3806de8 Mon Sep 17 00:00:00 2001 From: aPinat Date: Thu, 7 Nov 2019 17:17:03 +0100 Subject: [PATCH] Fixed: SSL certificate import --- src/NzbDrone.Host/WebHost/WebHostController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NzbDrone.Host/WebHost/WebHostController.cs b/src/NzbDrone.Host/WebHost/WebHostController.cs index d3e64223d..d72c254bf 100644 --- a/src/NzbDrone.Host/WebHost/WebHostController.cs +++ b/src/NzbDrone.Host/WebHost/WebHostController.cs @@ -72,8 +72,7 @@ namespace Radarr.Host { options.ConfigureHttpsDefaults(configureOptions => { - var certificate = new X509Certificate2(); - certificate.Import(_configFileProvider.SslCertPath, _configFileProvider.SslCertPassword, X509KeyStorageFlags.DefaultKeySet); + var certificate = new X509Certificate2(_configFileProvider.SslCertPath, _configFileProvider.SslCertPassword, X509KeyStorageFlags.DefaultKeySet); configureOptions.ServerCertificate = certificate; });