![]() A new AcmeJsonResource takes care of fetching and keeping the resource state. A lot of boilerplate code could be removed that way. |
||
---|---|---|
.github | ||
acme4j-client | ||
acme4j-example | ||
acme4j-it | ||
acme4j-utils | ||
src/site | ||
.gitignore | ||
.gitlab-ci.yml | ||
.project | ||
CONTRIBUTING.md | ||
LICENSE-APL.txt | ||
README.md | ||
pom.xml |
README.md
ACME Java Client

NOTE: There is currently no acme4j 2.0 release available at Maven Central. To use acme4j with the ACMEv2 protocol, you need to build it yourself and use version
2.0-SNAPSHOT
in your project. Version 2.0 will be available at the latest when Let's Encrypt starts its production ACMEv2 server on February 27th, 2018.For production you should use the latest version available at Maven Central (see the badge above). You can find the corresponding source code in the acmev1 branch.
This is a Java client for the Automatic Certificate Management Environment (ACME) protocol.
ACME is a protocol that a certificate authority (CA) and an applicant can use to automate the process of verification and certificate issuance.
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
- Fully supports the ACME v2 protocol up to draft 09
- Easy to use Java API
- Requires JRE 8 (update 101) or higher
- Built with maven, packages available at Maven Central
- Small, only requires jose4j and slf4j as dependencies
- Extensive unit and integration tests
ACME Versions
There are two versions of the ACME protocol specification, ACME v1 and ACME v2.
ACME v1 is currently in production. It is supported by acme4j < 2.0, so use acme4j < 2.0 for production purposes!
Let's Encrypt plans to launch an ACME v2 production server on Feburary 27th, 2018. A staging server is already available. acme4j >= 2.0 supports the ACME v2 protocol.
Let's Encrypt has not announced a sunset date for ACME v1 yet, so there is plenty of time for migration.
Known Issues
- The acme4j v2 API is still subject to change.
- Integration tests do not fully cover all functions. The standard methods for creating an account, ordering, and downloading a certificate are tested. Other methods are not tested yet, and may not work as expected.
Usage
- See the online documentation about how to use acme4j.
- For a quick start, have a look at the source code of an example.
Contribute
- Fork the Source code at GitHub. Feel free to send pull requests.
- Found a bug? File a bug report!
License
acme4j is open source software. The source code is distributed under the terms of Apache License 2.0.
Acknowledgements
- I would like to thank Brian Campbell and all the other jose4j developers. acme4j would not exist without your excellent work.
- Thanks to Daniel McCarney for his help with the ACME protocol, Pebble, and Boulder.
- I also like to thank everyone who contributed to acme4j.