# HttpsCertificateExecutionConfigurationContext

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

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.
