Skip to content

Commit a9ce33a

Browse files
committed
Update to draft-ietf-acme-ari-04
Only changes to the docs were necessary.
1 parent a85ff19 commit a9ce33a

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This Java client helps connecting to an ACME server, and performing all necessar
1515
* Supports [RFC 8739](https://tools.ietf.org/html/rfc8739) short-term automatic certificate renewal (experimental)
1616
* Supports [RFC 8823](https://tools.ietf.org/html/rfc8823) for S/MIME certificates (experimental)
1717
* Supports [RFC 9444](https://tools.ietf.org/html/rfc9444) for subdomain validation
18-
* Supports [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) for renewal information (experimental)
18+
* Supports [draft-ietf-acme-ari-04](https://www.ietf.org/archive/id/draft-ietf-acme-ari-04.html) for renewal information (experimental)
1919
* Easy to use Java API
2020
* Requires JRE 11 or higher
2121
* Supports [Let's Encrypt](https://letsencrypt.org/), [SSL.com](https://www.ssl.com/), [ZeroSSL](https://zerossl.com), and all other CAs that comply with the ACME protocol (RFC 8555). Note that _acme4j_ is an independent project that is not supported or endorsed by any of the CAs.

acme4j-client/src/main/java/org/shredzone/acme4j/toolbox/AcmeUtils.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ public static void validateContact(URI contact) {
332332
}
333333

334334
/**
335-
* Returns the certificate's unique identifier for renewal according to
336-
* draft-ietf-acme-ari-03.
335+
* Returns the certificate's unique identifier for renewal.
337336
*
338337
* @param certificate
339338
* Certificate to get the unique identifier for.

acme4j-client/src/test/java/org/shredzone/acme4j/CertificateTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public int sendSignedRequest(URL url, JSONBuilder claims, Session session, KeyPa
284284
*/
285285
@Test
286286
public void testRenewalInfo() throws AcmeException, IOException {
287-
// certid-cert.pem and certId provided by draft-ietf-acme-ari-03 and known good
287+
// certid-cert.pem and certId provided by ACME ARI specs and known good
288288
var certId = "aYhba4dGQEHhs3uEe6CuLN4ByNQ.AIdlQyE";
289289
var certIdCert = TestUtils.createCertificate("/certid-cert.pem");
290290
var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId);
@@ -364,7 +364,7 @@ public Optional<Instant> getRetryAfter() {
364364
*/
365365
@Test
366366
public void testMarkedAsReplaced() throws AcmeException, IOException {
367-
// certid-cert.pem and certId provided by draft-ietf-acme-ari-03 and known good
367+
// certid-cert.pem and certId provided by ACME ARI specs and known good
368368
var certId = "aYhba4dGQEHhs3uEe6CuLN4ByNQ.AIdlQyE";
369369
var certIdCert = TestUtils.createCertificate("/certid-cert.pem");
370370
var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId);

src/doc/docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Latest version: ![maven central](https://shredzone.org/maven-central/org.shredzo
1919
* Supports [RFC 8739](https://tools.ietf.org/html/rfc8739) short-term automatic certificate renewal (experimental)
2020
* Supports [RFC 8823](https://tools.ietf.org/html/rfc8823) for S/MIME certificates (experimental)
2121
* Supports [RFC 9444](https://tools.ietf.org/html/rfc9444) for subdomain validation
22-
* Supports [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) for renewal information (experimental)
22+
* Supports [draft-ietf-acme-ari-04](https://www.ietf.org/archive/id/draft-ietf-acme-ari-04.html) for renewal information (experimental)
2323
* Easy to use Java API
2424
* Requires JRE 11 or higher
2525
* Supports [Let's Encrypt](https://letsencrypt.org/), [SSL.com](https://www.ssl.com/), [ZeroSSL](https://zerossl.com), and all other CAs that comply with the ACME protocol (RFC 8555). Note that _acme4j_ is an independent project that is not supported or endorsed by any of the CAs.

src/doc/docs/usage/renewal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ There is no special path for renewing a certificate. To renew it, just [order](o
1313

1414
## Renewal Information
1515

16-
_acme4j_ supports the [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) draft.
16+
_acme4j_ supports the [draft-ietf-acme-ari-04](https://www.ietf.org/archive/id/draft-ietf-acme-ari-04.html) draft.
1717

1818
You can check if the CA offers renewal information by invoking `Certificate.hasRenewalInfo()`. If it does, you can get a suggested time window for certificate nenewal by invoking `Certificate.getRenewalInfo()`.
1919

0 commit comments

Comments
 (0)