IDeveloperCertificateService
Interface net8.0
Service that provides information about developer certificate trust capabilities.
namespace Aspire.Hosting;
public interface IDeveloperCertificateService{ // ...} 5 members
Properties5
Section titled PropertiesCertificatesabstractgetImmutableList<X509Certificate2> List of the valid development certificates that can be trusted.
LatestCertificateIsUntrustedvirtualgetbool Gets a value indicating whether a newer ASP.NET Core development certificate was detected that is not in the trusted set. This is true when the highest-version/most-recent dev cert is not trusted, even though older trusted certs may exist.
SupportsContainerTrustabstractgetbool 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".
TrustCertificateabstractgetbool Indicates whether the default behavior is to attempt to trust the developer certificate(s) at runtime.
UseForHttpsabstractgetbool Indicates whether the default behavior is to attempt to use a developer certificate for server authentication (i.e. HTTPS/TLS termination).