# HttpsCertificateExecutionConfigurationContext

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Configuration context for server authentication certificate configuration.

## Definition

```go
type HttpsCertificateExecutionConfigurationContext struct {
    CertificatePath        *ReferenceExpression `json:"CertificatePath"`
    KeyPath                *ReferenceExpression `json:"KeyPath"`
    CertificateWithKeyPath *ReferenceExpression `json:"CertificateWithKeyPath"`
    PfxPath                *ReferenceExpression `json:"PfxPath"`
}
```

## Fields

- `CertificatePath`: `*ReferenceExpression` -- Expression that will resolve to the path of the server authentication certificate in PEM format. For containers this will be a path inside the container.
- `KeyPath`: `*ReferenceExpression` -- Expression that will resolve to the path of the server authentication certificate key in PEM format. For containers this will be a path inside the container.
- `CertificateWithKeyPath`: `*ReferenceExpression` -- Expression that will resolve to the path of the server authentication certificate and key in a combined PEM file. For containers this will be a path inside the container.
- `PfxPath`: `*ReferenceExpression` -- Expression that will resolve to the path of the server authentication certificate in PFX format. For containers this will be a path inside the container.
