mirror of https://github.com/shred/acme4j
Update to draft-ietf-acme-ari-04
Only changes to the docs were necessary.pull/168/head
parent
a85ff19cf8
commit
a9ce33a921
|
@ -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 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 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 [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
|
* Easy to use Java API
|
||||||
* Requires JRE 11 or higher
|
* 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.
|
* 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.
|
||||||
|
|
|
@ -332,8 +332,7 @@ public final class AcmeUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the certificate's unique identifier for renewal according to
|
* Returns the certificate's unique identifier for renewal.
|
||||||
* draft-ietf-acme-ari-03.
|
|
||||||
*
|
*
|
||||||
* @param certificate
|
* @param certificate
|
||||||
* Certificate to get the unique identifier for.
|
* Certificate to get the unique identifier for.
|
||||||
|
|
|
@ -284,7 +284,7 @@ public class CertificateTest {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testRenewalInfo() throws AcmeException, IOException {
|
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 certId = "aYhba4dGQEHhs3uEe6CuLN4ByNQ.AIdlQyE";
|
||||||
var certIdCert = TestUtils.createCertificate("/certid-cert.pem");
|
var certIdCert = TestUtils.createCertificate("/certid-cert.pem");
|
||||||
var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId);
|
var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId);
|
||||||
|
@ -364,7 +364,7 @@ public class CertificateTest {
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testMarkedAsReplaced() throws AcmeException, IOException {
|
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 certId = "aYhba4dGQEHhs3uEe6CuLN4ByNQ.AIdlQyE";
|
||||||
var certIdCert = TestUtils.createCertificate("/certid-cert.pem");
|
var certIdCert = TestUtils.createCertificate("/certid-cert.pem");
|
||||||
var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId);
|
var certResourceUrl = new URL(resourceUrl.toExternalForm() + "/" + certId);
|
||||||
|
|
|
@ -19,7 +19,7 @@ Latest version:  short-term automatic certificate renewal (experimental)
|
* 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 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 [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
|
* Easy to use Java API
|
||||||
* Requires JRE 11 or higher
|
* 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.
|
* 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.
|
||||||
|
|
|
@ -13,7 +13,7 @@ There is no special path for renewing a certificate. To renew it, just [order](o
|
||||||
|
|
||||||
## Renewal Information
|
## 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()`.
|
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()`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue