diff options
| author | nyanmisaka <nst799610810@gmail.com> | 2020-12-11 23:49:35 +0800 |
|---|---|---|
| committer | nyanmisaka <nst799610810@gmail.com> | 2020-12-11 23:52:09 +0800 |
| commit | 41218c5613ea7a83804f7b8ee0b61d315db45c0c (patch) | |
| tree | a1a9170c1e3341c8e7caeed287e325e36c4c5084 /Jellyfin.Networking | |
| parent | a57e465de9c34c15fb6981b752bb5ad4121a2ab5 (diff) | |
fix ssl certificate cannot be saved
Diffstat (limited to 'Jellyfin.Networking')
| -rw-r--r-- | Jellyfin.Networking/Configuration/NetworkConfiguration.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Configuration/NetworkConfiguration.cs b/Jellyfin.Networking/Configuration/NetworkConfiguration.cs index df420f48a..792e57f6a 100644 --- a/Jellyfin.Networking/Configuration/NetworkConfiguration.cs +++ b/Jellyfin.Networking/Configuration/NetworkConfiguration.cs @@ -28,6 +28,16 @@ namespace Jellyfin.Networking.Configuration public bool RequireHttps { get; set; } /// <summary> + /// Gets or sets the filesystem path of an X.509 certificate to use for SSL. + /// </summary> + public string CertificatePath { get; set; } = string.Empty; + + /// <summary> + /// Gets or sets the password required to access the X.509 certificate data in the file specified by <see cref="CertificatePath"/>. + /// </summary> + public string CertificatePassword { get; set; } = string.Empty; + + /// <summary> /// Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. /// </summary> public string BaseUrl @@ -83,7 +93,7 @@ namespace Jellyfin.Networking.Configuration /// </summary> /// <remarks> /// In order for HTTPS to be used, in addition to setting this to true, valid values must also be - /// provided for <see cref="ServerConfiguration.CertificatePath"/> and <see cref="ServerConfiguration.CertificatePassword"/>. + /// provided for <see cref="CertificatePath"/> and <see cref="CertificatePassword"/>. /// </remarks> public bool EnableHttps { get; set; } |
