# IDeveloperCertificateService

- Kind: `interface`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/IDeveloperCertificateService.cs)

Service that provides information about developer certificate trust capabilities.

## Definition

```csharp
namespace Aspire.Hosting;

public interface IDeveloperCertificateService
{
    // ...
}
```

## Properties

- [Certificates](/reference/api/csharp/aspire.hosting/idevelopercertificateservice/properties.md#certificates) : `ImmutableList<X509Certificate2>` `abstract` `get` -- List of the valid development certificates that can be trusted.
- [LatestCertificateIsUntrusted](/reference/api/csharp/aspire.hosting/idevelopercertificateservice/properties.md#latestcertificateisuntrusted) : `bool` `virtual` `get` -- 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.
- [SupportsContainerTrust](/reference/api/csharp/aspire.hosting/idevelopercertificateservice/properties.md#supportscontainertrust) : `bool` `abstract` `get` -- 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".
- [TrustCertificate](/reference/api/csharp/aspire.hosting/idevelopercertificateservice/properties.md#trustcertificate) : `bool` `abstract` `get` -- Indicates whether the default behavior is to attempt to trust the developer certificate(s) at runtime.
- [UseForHttps](/reference/api/csharp/aspire.hosting/idevelopercertificateservice/properties.md#useforhttps) : `bool` `abstract` `get` -- Indicates whether the default behavior is to attempt to use a developer certificate for server authentication (i.e. HTTPS/TLS termination).
