# CertManagerIssuerResource.WithHttp01Solver

- Module: [Aspire.Hosting.Kubernetes](/reference/api/go/aspire.hosting.kubernetes.md)
- Defined on: [CertManagerIssuerResource](/reference/api/go/aspire.hosting.kubernetes/certmanagerissuerresource.md)
- Version: `17.0.0`
- Kind: `method`

Adds an HTTP-01 ACME challenge solver to the issuer. cert-manager will satisfy the challenge by provisioning a temporary HTTP route at `/.well-known/acme-challenge/{token}` on the same hostname being validated. This requires the hostname to be publicly reachable on port 80.

## Remarks

HTTP-01 is the right choice for gateways exposed via Azure Application Gateway for
Containers (AGC) or any ingress controller that publishes a publicly addressable
hostname. Wildcard certificates require a DNS-01 solver, which is not yet supported.

## Definition

```go
type CertManagerIssuerResource interface {
    // ... omitted for brevity
    WithHttp01Solver() CertManagerIssuerResource
}
```

## Signature

```go
WithHttp01Solver() CertManagerIssuerResource
```

## Returns

[`CertManagerIssuerResource`](/reference/api/go/aspire.hosting.kubernetes/certmanagerissuerresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Defined on

- [CertManagerIssuerResource](/reference/api/go/aspire.hosting.kubernetes/certmanagerissuerresource.md) -- `handle`
