# HttpsCertificateExecutionConfigurationData

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

Metadata for HTTPS/TLS server certificate configuration.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public class HttpsCertificateExecutionConfigurationData
    : Aspire.Hosting.ApplicationModel.IExecutionConfigurationData
{
    // ...
}
```

## Constructors

- [HttpsCertificateExecutionConfigurationData](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/constructors.md#constructor)

## Properties

- [Certificate](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/properties.md#certificate) : `X509Certificate2` `get; init` -- The server authentication certificate for the resource, if any.
- [IsKeyPathReferenced](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/properties.md#iskeypathreferenced) : `bool` `get` -- Indicates whether the key path was actually referenced in the resource configuration.
- [IsPfxPathReferenced](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/properties.md#ispfxpathreferenced) : `bool` `get` -- Indicates whether the PFX path was actually referenced in the resource configuration.
- [KeyPathReference](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/properties.md#keypathreference) : [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md) `get; set` -- Reference expression that will resolve to the path of the server authentication certificate key in PEM format.
- [Password](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/properties.md#password) : `string?` `get; init` -- The passphrase for the server authentication certificate, if any.
- [PfxPathReference](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata/properties.md#pfxpathreference) : [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md) `get; set` -- Reference expression that will resolve to the path of the server authentication certificate in PFX format.
