@@ -34,7 +34,7 @@ var ErrUnsupported = fmt.Errorf("unsupported by ACME server")
3434// on when they should renew certificates."
3535//
3636// ACME Renewal Information (ARI):
37- // https://www .ietf.org/archive/id/draft-ietf-acme-ari-03. html §4.2
37+ // https://datatracker .ietf.org/doc/ html/rfc9773 §4.2
3838//
3939// This is a DRAFT specification and the API is subject to change.
4040type RenewalInfo struct {
@@ -168,7 +168,7 @@ func (c *Client) GetRenewalInfo(ctx context.Context, leafCert *x509.Certificate)
168168 // timestamp), it SHOULD make its own determination of when to
169169 // renew the certificate, and MAY retry the renewalInfo request
170170 // with appropriate exponential backoff behavior."
171- // draft-ietf-acme-ari-04 §4.2
171+ // RFC 9773 §4.2
172172 if ari .SuggestedWindow .Start .IsZero () ||
173173 ari .SuggestedWindow .End .IsZero () ||
174174 ari .SuggestedWindow .Start .Equal (ari .SuggestedWindow .End ) ||
@@ -191,7 +191,7 @@ func (c *Client) GetRenewalInfo(ctx context.Context, leafCert *x509.Certificate)
191191 }
192192
193193 // "The server SHOULD include a Retry-After header indicating the polling
194- // interval that the ACME server recommends." draft-ietf-acme-ari-03 §4.2
194+ // interval that the ACME server recommends." RFC 9773 §4.2
195195 raTime , err := retryAfterTime (resp )
196196 if err != nil && c .Logger != nil {
197197 c .Logger .LogAttrs (ctx , slog .LevelError , "invalid Retry-After value" ,
@@ -244,7 +244,6 @@ func (c *Client) ariEndpoint(ariCertID string) string {
244244
245245// ARIUniqueIdentifier returns the unique identifier for the certificate
246246// as used by ACME Renewal Information.
247- // EXPERIMENTAL: ARI is a draft RFC spec: draft-ietf-acme-ari-03
248247func ARIUniqueIdentifier (leafCert * x509.Certificate ) (string , error ) {
249248 if leafCert .SerialNumber == nil {
250249 return "" , fmt .Errorf ("no serial number" )
0 commit comments