ManagedCertificate

StockSharp.Web.DomainModel

A certificate the platform manages: the identifiers it covers, how ownership is proven (a DNS provider for DNS-01, or none for HTTP-01) and which IIS sites it binds to. Metadata only — the certificate body and key live in the Windows store / Central Certificate Store.

Наследует: BaseEntity

Реализует: INameEntity

Свойства

ChallengeType
public AcmeChallengeType ChallengeType { get; set; }
value = managedCertificate.ChallengeType
managedCertificate.ChallengeType = value

How ownership of the domains is proven. Auto (default) picks DNS-01 when Provider is set and HTTP-01 otherwise; set it explicitly to force one method (e.g. HTTP-01 even though a DNS provider is configured).

Domains
public string Domains { get; set; }
value = managedCertificate.Domains
managedCertificate.Domains = value

Semicolon-separated identifiers to include in the certificate, e.g. "stocksharp.com;*.stocksharp.com". Wildcard masks are allowed (DNS-01 only).

Error
public Error Error { get; set; }
value = managedCertificate.Error
managedCertificate.Error = value

Last issuance/renewal failure, when present; cleared on success.

IsEnabled
public bool IsEnabled { get; set; }
value = managedCertificate.IsEnabled
managedCertificate.IsEnabled = value

Whether the renewal service manages and auto-renews this certificate.

IsTest
public bool IsTest { get; set; }
value = managedCertificate.IsTest
managedCertificate.IsTest = value

Test mode: issue from the Let's Encrypt staging environment (untrusted, for testing) instead of production.

Name
public string Name { get; set; }
value = managedCertificate.Name
managedCertificate.Name = value

Friendly label shown in the UI.

NotAfter
public DateTime NotAfter { get; set; }
value = managedCertificate.NotAfter
managedCertificate.NotAfter = value

Validity end of the installed certificate; drives renewal scheduling. Default (unset) means "not issued yet", so it is treated as due for renewal.

Provider
public DnsProvider Provider { get; set; }
value = managedCertificate.Provider
managedCertificate.Provider = value

DNS provider answering the ACME DNS-01 challenge. Null means HTTP-01 instead (broker custom domains), with the certificate installed into the Central Certificate Store rather than a site.

TargetSites
public string TargetSites { get; set; }
value = managedCertificate.TargetSites
managedCertificate.TargetSites = value

Semicolon-separated IIS site names to bind the issued certificate to (HTTPS, SNI).

Thumbprint
public string Thumbprint { get; set; }
value = managedCertificate.Thumbprint
managedCertificate.Thumbprint = value

Thumbprint of the certificate currently installed in the Windows store (set by the service); empty until first issued.