Class TlsOptions
HTTPS with a certificate from PEM files, such as those of certbot, configuration section Section; the https:// addresses of Urls use it.
Implements
Inherited Members
Namespace: Uniform.Matrix.Server.Configuration
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed record TlsOptions : IEquatable<TlsOptions>
Remarks
The files are read again when they change, so renewed certificates are used without a restart.
Fields
| Edit this page View SourceSection
Configuration section name.
Declaration
public const string Section = "Tls"
Field Value
| Type | Description |
|---|---|
| string |
Properties
| Edit this page View SourceCertificatePath
Certificate file with its intermediates, e.g. certbot's fullchain.pem; unset for plain HTTP.
Declaration
public string? CertificatePath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
KeyPath
Private key file of the certificate, e.g. certbot's privkey.pem.
Declaration
public string? KeyPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |