# HttpsCertificateExecutionConfigurationData Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [HttpsCertificateExecutionConfigurationData](/reference/api/csharp/aspire.hosting/httpscertificateexecutionconfigurationdata.md)
- Kind: `Properties`
- Members: `6`

Metadata for HTTPS/TLS server certificate configuration.

## Certificate

- Name: `Certificate`
- Modifiers: `get; init`
- Returns: `X509Certificate2`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs)

The server authentication certificate for the resource, if any.

```csharp
public X509Certificate2 Certificate { get; init; }
```

## IsKeyPathReferenced

- Name: `IsKeyPathReferenced`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs#L122)

Indicates whether the key path was actually referenced in the resource configuration.

```csharp
public bool IsKeyPathReferenced { get; }
```

## IsPfxPathReferenced

- Name: `IsPfxPathReferenced`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs#L143)

Indicates whether the PFX path was actually referenced in the resource configuration.

```csharp
public bool IsPfxPathReferenced { get; }
```

## KeyPathReference

- Name: `KeyPathReference`
- Modifiers: `get; set`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs)

Reference expression that will resolve to the path of the server authentication certificate key in PEM format.

```csharp
public ReferenceExpression KeyPathReference { get; set; }
```

## Password

- Name: `Password`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs)

The passphrase for the server authentication certificate, if any.

```csharp
public string? Password { get; init; }
```

## PfxPathReference

- Name: `PfxPathReference`
- Modifiers: `get; set`
- Returns: [ReferenceExpression](/reference/api/csharp/aspire.hosting/referenceexpression.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/HttpsCertificateExecutionConfigurationGatherer.cs)

Reference expression that will resolve to the path of the server authentication certificate in PFX format.

```csharp
public ReferenceExpression PfxPathReference { get; set; }
```
