Skip to content
Docs Try Aspire

IDeveloperCertificateService Properties

Interface Properties 4 members
Service that provides information about developer certificate trust capabilities.
Certificates Section titled Certificates abstract ImmutableList<X509Certificate2>
List of the valid development certificates that can be trusted.
public abstract ImmutableList<X509Certificate2> Certificates { get; }
SupportsContainerTrust Section titled SupportsContainerTrust abstract bool
Indicates whether the available developer certificates support container trust scenarios. If true, the developer certificate(s) SAN configuration supports common container domains for accessing host services such as "host.docker.internal" and "host.containers.internal".
public abstract bool SupportsContainerTrust { get; }
TrustCertificate Section titled TrustCertificate abstract bool
Indicates whether the default behavior is to attempt to trust the developer certificate(s) at runtime.
public abstract bool TrustCertificate { get; }
UseForHttps Section titled UseForHttps abstract bool
Indicates whether the default behavior is to attempt to use a developer certificate for server authentication (i.e. HTTPS/TLS termination).
public abstract bool UseForHttps { get; }