# IDeveloperCertificateService Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [IDeveloperCertificateService](/reference/api/csharp/aspire.hosting/idevelopercertificateservice.md)
- Kind: `Properties`
- Members: `5`

Service that provides information about developer certificate trust capabilities.

## Certificates

- Name: `Certificates`
- Modifiers: `abstract` `get`
- Returns: `ImmutableList<X509Certificate2>`

List of the valid development certificates that can be trusted.

```csharp
public abstract ImmutableList<X509Certificate2> Certificates { get; }
```

## LatestCertificateIsUntrusted

- Name: `LatestCertificateIsUntrusted`
- Modifiers: `virtual` `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/IDeveloperCertificateService.cs#L44)

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.

```csharp
public virtual bool LatestCertificateIsUntrusted { get; }
```

## SupportsContainerTrust

- Name: `SupportsContainerTrust`
- Modifiers: `abstract` `get`
- Returns: `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".

```csharp
public abstract bool SupportsContainerTrust { get; }
```

## TrustCertificate

- Name: `TrustCertificate`
- Modifiers: `abstract` `get`
- Returns: `bool`

Indicates whether the default behavior is to attempt to trust the developer certificate(s) at runtime.

```csharp
public abstract bool TrustCertificate { get; }
```

## UseForHttps

- Name: `UseForHttps`
- Modifiers: `abstract` `get`
- Returns: `bool`

Indicates whether the default behavior is to attempt to use a developer certificate for server authentication (i.e. HTTPS/TLS termination).

```csharp
public abstract bool UseForHttps { get; }
```
