From 5ea0509b86682432529dd20e1f5556a4ddc1b026 Mon Sep 17 00:00:00 2001 From: CzBiX Date: Mon, 27 Oct 2025 18:43:19 +0800 Subject: [PATCH] docs: update name and links for Profiles Extension RFC (#2689) --- README.md | 2 +- acme/api/order.go | 2 +- acme/commons.go | 4 ++-- certificate/certificates.go | 4 ++-- cmd/cmd_renew.go | 2 +- cmd/cmd_run.go | 2 +- docs/content/_index.md | 2 +- docs/data/zz_cli_help.toml | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e02eff0c7..c3d739f0c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ So if you think that lego is worth it, please consider [donating](https://donate - Support [RFC 8737](https://www.rfc-editor.org/rfc/rfc8737.html): TLS Application‑Layer Protocol Negotiation (ALPN) Challenge Extension - Support [RFC 8738](https://www.rfc-editor.org/rfc/rfc8738.html): certificates for IP addresses - Support [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773.html): Renewal Information (ARI) Extension - - Support [draft-aaron-acme-profiles-00](https://datatracker.ietf.org/doc/draft-aaron-acme-profiles/): Profiles Extension + - Support [draft-ietf-acme-profiles-00](https://datatracker.ietf.org/doc/draft-ietf-acme-profiles/): Profiles Extension - Comes with about [170 DNS providers](https://go-acme.github.io/lego/dns) - Register with CA - Obtain certificates, both from scratch or with an existing CSR diff --git a/acme/api/order.go b/acme/api/order.go index 13caa0d08..0c679fdb1 100644 --- a/acme/api/order.go +++ b/acme/api/order.go @@ -17,7 +17,7 @@ type OrderOptions struct { // A string uniquely identifying the profile // which will be used to affect issuance of the certificate requested by this Order. - // - https://www.ietf.org/id/draft-aaron-acme-profiles-00.html#section-4 + // - https://www.ietf.org/id/draft-ietf-acme-profiles-00.html#section-4 Profile string // A string uniquely identifying a previously-issued certificate which this diff --git a/acme/commons.go b/acme/commons.go index 489c74938..bd0506c09 100644 --- a/acme/commons.go +++ b/acme/commons.go @@ -77,7 +77,7 @@ type Meta struct { // profiles (optional, object): // A map of profile names to human-readable descriptions of those profiles. - // https://www.ietf.org/id/draft-aaron-acme-profiles-00.html#section-3 + // https://www.ietf.org/id/draft-ietf-acme-profiles-00.html#section-3 Profiles map[string]string `json:"profiles"` } @@ -156,7 +156,7 @@ type Order struct { // profile (string, optional): // A string uniquely identifying the profile // which will be used to affect issuance of the certificate requested by this Order. - // https://www.ietf.org/id/draft-aaron-acme-profiles-00.html#section-4 + // https://www.ietf.org/id/draft-ietf-acme-profiles-00.html#section-4 Profile string `json:"profile,omitempty"` // notBefore (optional, string): diff --git a/certificate/certificates.go b/certificate/certificates.go index e5830722d..df51dc333 100644 --- a/certificate/certificates.go +++ b/certificate/certificates.go @@ -77,7 +77,7 @@ type ObtainRequest struct { // A string uniquely identifying the profile // which will be used to affect issuance of the certificate requested by this Order. - // - https://www.ietf.org/id/draft-aaron-acme-profiles-00.html#section-4 + // - https://www.ietf.org/id/draft-ietf-acme-profiles-00.html#section-4 Profile string AlwaysDeactivateAuthorizations bool @@ -106,7 +106,7 @@ type ObtainForCSRRequest struct { // A string uniquely identifying the profile // which will be used to affect issuance of the certificate requested by this Order. - // - https://www.ietf.org/id/draft-aaron-acme-profiles-00.html#section-4 + // - https://www.ietf.org/id/draft-ietf-acme-profiles-00.html#section-4 Profile string AlwaysDeactivateAuthorizations bool diff --git a/cmd/cmd_renew.go b/cmd/cmd_renew.go index 9b1be8c95..afedee0b6 100644 --- a/cmd/cmd_renew.go +++ b/cmd/cmd_renew.go @@ -101,7 +101,7 @@ func createRenew() *cli.Command { }, &cli.StringFlag{ Name: flgProfile, - Usage: "If the CA offers multiple certificate profiles (draft-aaron-acme-profiles), choose this one.", + Usage: "If the CA offers multiple certificate profiles (draft-ietf-acme-profiles), choose this one.", }, &cli.StringFlag{ Name: flgAlwaysDeactivateAuthorizations, diff --git a/cmd/cmd_run.go b/cmd/cmd_run.go index 8135e3546..905fc6bb2 100644 --- a/cmd/cmd_run.go +++ b/cmd/cmd_run.go @@ -76,7 +76,7 @@ func createRun() *cli.Command { }, &cli.StringFlag{ Name: flgProfile, - Usage: "If the CA offers multiple certificate profiles (draft-aaron-acme-profiles), choose this one.", + Usage: "If the CA offers multiple certificate profiles (draft-ietf-acme-profiles), choose this one.", }, &cli.StringFlag{ Name: flgAlwaysDeactivateAuthorizations, diff --git a/docs/content/_index.md b/docs/content/_index.md index a211c5d62..229435e7d 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -13,7 +13,7 @@ Let's Encrypt client and ACME library written in Go. - Support [RFC 8737](https://www.rfc-editor.org/rfc/rfc8737.html): TLS Application‑Layer Protocol Negotiation (ALPN) Challenge Extension - Support [RFC 8738](https://www.rfc-editor.org/rfc/rfc8738.html): issues certificates for IP addresses - Support [RFC 9773](https://www.rfc-editor.org/rfc/rfc9773.html): Renewal Information (ARI) Extension - - Support [draft-aaron-acme-profiles-00](https://datatracker.ietf.org/doc/draft-aaron-acme-profiles/): Profiles Extension + - Support [draft-ietf-acme-profiles-00](https://datatracker.ietf.org/doc/draft-ietf-acme-profiles/): Profiles Extension - Comes with about [150 DNS providers]({{% ref "dns" %}}) - Register with CA - Obtain certificates, both from scratch or with an existing CSR diff --git a/docs/data/zz_cli_help.toml b/docs/data/zz_cli_help.toml index bebc8b763..bab9bd525 100644 --- a/docs/data/zz_cli_help.toml +++ b/docs/data/zz_cli_help.toml @@ -76,7 +76,7 @@ OPTIONS: --not-after value Set the notAfter field in the certificate (RFC3339 format) --private-key value Path to private key (in PEM encoding) for the certificate. By default, the private key is generated. --preferred-chain value If the CA offers multiple certificate chains, prefer the chain with an issuer matching this Subject Common Name. If no match, the default offered chain will be used. - --profile value If the CA offers multiple certificate profiles (draft-aaron-acme-profiles), choose this one. + --profile value If the CA offers multiple certificate profiles (draft-ietf-acme-profiles), choose this one. --always-deactivate-authorizations value Force the authorizations to be relinquished even if the certificate request was successful. --run-hook value Define a hook. The hook is executed when the certificates are effectively created. --run-hook-timeout value Define the timeout for the hook execution. (default: 2m0s) @@ -103,7 +103,7 @@ OPTIONS: --not-before value Set the notBefore field in the certificate (RFC3339 format) --not-after value Set the notAfter field in the certificate (RFC3339 format) --preferred-chain value If the CA offers multiple certificate chains, prefer the chain with an issuer matching this Subject Common Name. If no match, the default offered chain will be used. - --profile value If the CA offers multiple certificate profiles (draft-aaron-acme-profiles), choose this one. + --profile value If the CA offers multiple certificate profiles (draft-ietf-acme-profiles), choose this one. --always-deactivate-authorizations value Force the authorizations to be relinquished even if the certificate request was successful. --renew-hook value Define a hook. The hook is executed only when the certificates are effectively renewed. --renew-hook-timeout value Define the timeout for the hook execution. (default: 2m0s)