Class Tls

Namespace
Cratis.Chronicle
Assembly
Cratis.Chronicle.dll

Represents the TLS configuration for Chronicle.

public class Tls
Inheritance
Tls
Inherited Members
Extension Methods

Constructors

Tls()

public Tls()

Properties

CertificatePassword

Gets or sets the password for the certificate file.

public string? CertificatePassword { get; set; }

Property Value

string

CertificatePath

Gets or sets the path to the certificate file for TLS.

public string? CertificatePath { get; set; }

Property Value

string

SkipCertificateValidation

Gets or sets whether to skip TLS certificate validation when connecting.

public bool SkipCertificateValidation { get; set; }

Property Value

bool

Remarks

The client always connects over TLS. This defaults to true: the server's certificate is not validated, and any certificate, including self-signed ones, is accepted. Set this to false to require full certificate chain validation instead — only do so against a server whose certificate is verifiable (not a self-signed development certificate).