Add support for ACME certificate profiles
ACME profiles are an IETF draft extension that lets a client choose which kind of certificate a CA issues, such as a short-lived certificate or one with different validity rules. Let's Encrypt and its Pebble test server already support it. The x/crypto/acme package adds support so clients can discover and request these profiles.
A new ProfileName type names a profile. Directory gains a Profiles map from profile names to their descriptions. If the map is empty, the CA does not support profiles. Order gains a Profile field that reports the profile used. The new WithOrderIssuanceProfile option requests a specific profile when creating an order.
dir, err := client.Discover(ctx)
if err != nil {
return err
}
if _, ok := dir.Profiles["shortlived"]; ok {
order, err := client.AuthorizeOrder(ctx, ids,
acme.WithOrderIssuanceProfile("shortlived"))
// ...
}
- Proposal
- #73101 by sigmavirus24
- Status
- Implemented on Oct 5, 2026
- Impact
- low
- Area
- x/crypto/acme