diff --git a/README.md b/README.md index 709585d9..5c9232ad 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This Java client helps connecting to an ACME server, and performing all necessar * Supports [RFC 8739](https://tools.ietf.org/html/rfc8739) short-term automatic certificate renewal (experimental) * Supports [RFC 8823](https://tools.ietf.org/html/rfc8823) for S/MIME certificates (experimental) * Supports [RFC 9444](https://tools.ietf.org/html/rfc9444) for subdomain validation -* Supports [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) for renewal information (experimental) +* Supports [draft-ietf-acme-ari-04](https://www.ietf.org/archive/id/draft-ietf-acme-ari-04.html) for renewal information (experimental) * Easy to use Java API * Requires JRE 11 or higher * 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. diff --git a/acme4j-client/src/main/java/org/shredzone/acme4j/toolbox/AcmeUtils.java b/acme4j-client/src/main/java/org/shredzone/acme4j/toolbox/AcmeUtils.java index ce523c13..fd26a94a 100644 --- a/acme4j-client/src/main/java/org/shredzone/acme4j/toolbox/AcmeUtils.java +++ b/acme4j-client/src/main/java/org/shredzone/acme4j/toolbox/AcmeUtils.java @@ -332,8 +332,7 @@ public static void validateContact(URI contact) { } /** - * Returns the certificate's unique identifier for renewal according to - * draft-ietf-acme-ari-03. + * Returns the certificate's unique identifier for renewal. * * @param certificate * Certificate to get the unique identifier for. diff --git a/acme4j-client/src/test/java/org/shredzone/acme4j/CertificateTest.java b/acme4j-client/src/test/java/org/shredzone/acme4j/CertificateTest.java index 23df6e93..d3281a9c 100644 --- a/acme4j-client/src/test/java/org/shredzone/acme4j/CertificateTest.java +++ b/acme4j-client/src/test/java/org/shredzone/acme4j/CertificateTest.java @@ -284,7 +284,7 @@ public int sendSignedRequest(URL url, JSONBuilder claims, Session session, KeyPa */ @Test public void testRenewalInfo() throws AcmeException, IOException { - // certid-cert.pem and certId provided by draft-ietf-acme-ari-03 and known good + // certid-cert.pem and certId provided by ACME ARI specs and known good var certId = "aYhba4dGQEHhs3uEe6CuLN4ByNQ.AIdlQyE"; var certIdCert = TestUtils.createCertificate("/certid-cert.pem"); var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId); @@ -364,7 +364,7 @@ public Optional getRetryAfter() { */ @Test public void testMarkedAsReplaced() throws AcmeException, IOException { - // certid-cert.pem and certId provided by draft-ietf-acme-ari-03 and known good + // certid-cert.pem and certId provided by ACME ARI specs and known good var certId = "aYhba4dGQEHhs3uEe6CuLN4ByNQ.AIdlQyE"; var certIdCert = TestUtils.createCertificate("/certid-cert.pem"); var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId); diff --git a/src/doc/docs/index.md b/src/doc/docs/index.md index 40925c5f..1223728e 100644 --- a/src/doc/docs/index.md +++ b/src/doc/docs/index.md @@ -19,7 +19,7 @@ Latest version: ![maven central](https://shredzone.org/maven-central/org.shredzo * Supports [RFC 8739](https://tools.ietf.org/html/rfc8739) short-term automatic certificate renewal (experimental) * Supports [RFC 8823](https://tools.ietf.org/html/rfc8823) for S/MIME certificates (experimental) * Supports [RFC 9444](https://tools.ietf.org/html/rfc9444) for subdomain validation -* Supports [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) for renewal information (experimental) +* Supports [draft-ietf-acme-ari-04](https://www.ietf.org/archive/id/draft-ietf-acme-ari-04.html) for renewal information (experimental) * Easy to use Java API * Requires JRE 11 or higher * 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. diff --git a/src/doc/docs/usage/renewal.md b/src/doc/docs/usage/renewal.md index 558362db..0464de93 100644 --- a/src/doc/docs/usage/renewal.md +++ b/src/doc/docs/usage/renewal.md @@ -13,7 +13,7 @@ There is no special path for renewing a certificate. To renew it, just [order](o ## Renewal Information -_acme4j_ supports the [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) draft. +_acme4j_ supports the [draft-ietf-acme-ari-04](https://www.ietf.org/archive/id/draft-ietf-acme-ari-04.html) draft. 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()`.