mirror of https://github.com/shred/acme4j
Minor documentation fixes
parent
d40e30ab56
commit
fdbd82e887
|
@ -6,8 +6,6 @@ ACME is a protocol that a certificate authority (CA) and an applicant can use to
|
||||||
|
|
||||||
This Java client helps connecting to an ACME server, and performing all necessary steps to manage certificates.
|
This Java client helps connecting to an ACME server, and performing all necessary steps to manage certificates.
|
||||||
|
|
||||||
It is an independent open source implementation that is not affiliated with or endorsed by _Let's Encrypt_.
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
* Mature and stable code base. First release was in December 2015!
|
* Mature and stable code base. First release was in December 2015!
|
||||||
|
@ -16,9 +14,10 @@ It is an independent open source implementation that is not affiliated with or e
|
||||||
* Supports [RFC 8738](https://tools.ietf.org/html/rfc8738) IP identifier validation
|
* Supports [RFC 8738](https://tools.ietf.org/html/rfc8738) IP identifier validation
|
||||||
* 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 [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) for renewal information
|
* Supports [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.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.
|
||||||
* Built with maven, packages available at [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22org.shredzone.acme4j%22)
|
* Built with maven, packages available at [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22org.shredzone.acme4j%22)
|
||||||
* Extensive unit and integration tests
|
* Extensive unit and integration tests
|
||||||
* Adheres to [Semantic Versioning](https://semver.org/)
|
* Adheres to [Semantic Versioning](https://semver.org/)
|
||||||
|
|
|
@ -6,8 +6,6 @@ ACME is a protocol that a certificate authority (CA) and an applicant can use to
|
||||||
|
|
||||||
This Java client helps connecting to an ACME server, and performing all necessary steps to manage certificates.
|
This Java client helps connecting to an ACME server, and performing all necessary steps to manage certificates.
|
||||||
|
|
||||||
It is an independent open source implementation that is not affiliated with or endorsed by _Let's Encrypt_.
|
|
||||||
|
|
||||||
The source code can be found at [GitHub](https://github.com/shred/acme4j) and is distributed under the terms of [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
The source code can be found at [GitHub](https://github.com/shred/acme4j) and is distributed under the terms of [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
||||||
|
|
||||||
Latest version: 
|
Latest version: 
|
||||||
|
@ -20,9 +18,10 @@ Latest version:  IP identifier validation
|
* Supports [RFC 8738](https://tools.ietf.org/html/rfc8738) IP identifier validation
|
||||||
* 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 [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) for renewal information
|
* Supports [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.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.
|
||||||
* Built with maven, packages available at [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22org.shredzone.acme4j%22)
|
* Built with maven, packages available at [Maven Central](http://search.maven.org/#search|ga|1|g%3A%22org.shredzone.acme4j%22)
|
||||||
* Extensive unit and integration tests
|
* Extensive unit and integration tests
|
||||||
* Adheres to [Semantic Versioning](https://semver.org/)
|
* Adheres to [Semantic Versioning](https://semver.org/)
|
||||||
|
@ -42,7 +41,7 @@ There is an [example source code](example.md) included in this project. It gives
|
||||||
|
|
||||||
## Modules
|
## Modules
|
||||||
|
|
||||||
_acme4j_ consists of five modules. All modules are [available at Maven Central](https://mvnrepository.com/artifact/org.shredzone.acme4j) and can easily be added to the dependency list of your project. You can also download the jar files [at GitHub](https://github.com/shred/acme4j/releases/latest).
|
_acme4j_ consists of four modules. All modules are [available at Maven Central](https://mvnrepository.com/artifact/org.shredzone.acme4j) and can easily be added to the dependency list of your project. You can also download the jar files [at GitHub](https://github.com/shred/acme4j/releases/latest).
|
||||||
|
|
||||||
acme4j-client
|
acme4j-client
|
||||||
: [`acme4j-client`](https://mvnrepository.com/artifact/org.shredzone.acme4j/acme4j-client/latest) is the main module. It contains everything that is required to get certificates for domains.
|
: [`acme4j-client`](https://mvnrepository.com/artifact/org.shredzone.acme4j/acme4j-client/latest) is the main module. It contains everything that is required to get certificates for domains.
|
||||||
|
|
|
@ -5,10 +5,10 @@ This document will help you migrate your code to the latest _acme4j_ version.
|
||||||
## Migration to Version 3.2.0
|
## Migration to Version 3.2.0
|
||||||
|
|
||||||
- Starting with this version, the `CSRBuilder` won't add the first domain as common name automatically. This permits the issuance of very long domain names, and should have no negative impact otherwise, as this field is usually ignored by CAs anyway. If you should encounter a problem here, you can use `CSRBuilder.setCommonName()` to set the first domain as common name manually. Discussion see [here](https://community.letsencrypt.org/t/questions-re-simplifying-issuance-for-very-long-domain-names/207925/11).
|
- Starting with this version, the `CSRBuilder` won't add the first domain as common name automatically. This permits the issuance of very long domain names, and should have no negative impact otherwise, as this field is usually ignored by CAs anyway. If you should encounter a problem here, you can use `CSRBuilder.setCommonName()` to set the first domain as common name manually. Discussion see [here](https://community.letsencrypt.org/t/questions-re-simplifying-issuance-for-very-long-domain-names/207925/11).
|
||||||
|
- Instead of invoking `update()` and then handling an `AcmeRetryAfterException`, you should now prefer to invoke `fetch()`. It gives an optional retry-after `Instant` as return value, which makes the retry-after handling less complex. In a future version, `update()` will be fully replaced by `fetch()`, and `AcmeRetryAfterException` will be removed.
|
||||||
- acme4j was updated to support the latest [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) now. It is a breaking change! If you use ARI, make sure your server supports the latest draft before updating to this version of acme4j.
|
- acme4j was updated to support the latest [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) now. It is a breaking change! If you use ARI, make sure your server supports the latest draft before updating to this version of acme4j.
|
||||||
- `Certificate.markAsReplace()` has been removed, because this method is not supported by [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) anymore. To mark an existing certificate as replaced, use the new method `OrderBuilder.replaces()` now.
|
- `Certificate.markAsReplace()` has been removed, because this method is not supported by [draft-ietf-acme-ari-03](https://www.ietf.org/archive/id/draft-ietf-acme-ari-03.html) anymore. To mark an existing certificate as replaced, use the new method `OrderBuilder.replaces()` now.
|
||||||
- `Certificate.getCertID()` is not needed in the ACME context anymore. This method has been marked as deprecated. In a future version of acme4j, it will be removed without replacement. Refer to the source code to see how the certificate ID is computed.
|
- `Certificate.getCertID()` is not needed in the ACME context anymore. This method has been marked as deprecated. In a future version of acme4j, it will be removed without replacement. If you need the certificate ID, refer to the source code to see how it is computed, and add a similar method to your own project.
|
||||||
- Instead of invoking `update()` and then handling an `AcmeRetryAfterException`, you should now prefer to invoke `fetch()`. It gives an optional retry-after `Instant` as return value, which makes the retry-after handling less complex. In a future version, `update()` will be fully replaced by `fetch()`.
|
|
||||||
|
|
||||||
## Migration to Version 3.0.0
|
## Migration to Version 3.0.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue