1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

New: Support PEM format for SSL certificates

Closes #8087
This commit is contained in:
Mark McDowall
2025-09-27 15:42:38 -07:00
parent 0407564784
commit a4a18d6121
10 changed files with 102 additions and 31 deletions
@@ -47,6 +47,7 @@ namespace NzbDrone.Core.Configuration
string Branch { get; }
string ApiKey { get; }
string SslCertPath { get; }
string SslKeyPath { get; }
string SslCertPassword { get; }
string UrlBase { get; }
string UiFolder { get; }
@@ -257,6 +258,7 @@ namespace NzbDrone.Core.Configuration
public int LogSizeLimit => Math.Min(Math.Max(_logOptions.SizeLimit ?? GetValueInt("LogSizeLimit", 1, persist: false), 0), 10);
public bool FilterSentryEvents => _logOptions.FilterSentryEvents ?? GetValueBoolean("FilterSentryEvents", true, persist: false);
public string SslCertPath => _serverOptions.SslCertPath ?? GetValue("SslCertPath", "");
public string SslKeyPath => _serverOptions.SslKeyPath ?? GetValue("SslKeyPath", "");
public string SslCertPassword => _serverOptions.SslCertPassword ?? GetValue("SslCertPassword", "");
public string UrlBase