CertMagic v0.21 introduces some big changes:
- Draft support for draft-03 of ACME Renewal Information (ARI) which assists with deciding when to renew certificates. This augments CertMagic's already-advanced logic using cert lifetime and OCSP/revocation status.
- New
ZeroSSLIssuer
uses the ZeroSSL API to get certificates. ZeroSSL also has an ACME endpoint, which can still be accesed using the existing ACMEIssuer, as always. Their proprietary API is paid, but has extra features like IP certificates, better reliability, and support. - DNS challenges should be smoother in some cases as we've improved propagation checking.
- In the odd case your ACME account disappears from the ACME server, CertMagic will automatically retry with a new account. (This happens in some test/dev environments.)
- ACME accounts are identified only by their public keys, but CertMagic maps accounts by CA+email for practical/storage reasons. So now you can "pin" an account key to use by specifying your email and the account public key in your config, which is useful if you need to absolutely be sure to use a specific account (like if you get rate limit exemptions from a CA).
Please try it out and report any issues!
Thanks to @framer for their contributions to this release!
What's Changed
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #264
- Demote "storage cleaning happened too recently" from WARN to INFO by @francislavoie in #270
- Check DNS propagation at authoritative nameservers only with default resolvers by @pgeh in #274
- Retry with new account if account disappeared remotely by @mholt in #269
- Update readme examples to use TLS-ALPN const from ACMEz by @goksan in #277
- Initial implementation of ZeroSSL API issuer by @mholt in #279
- Allow deleting directories via FileStorage by @goksan in #282
- Use the
email
configuration in the ACME issuer to "pin" an account to a key by @ankon in #283 - Initial implementation of ARI by @mholt in #286
New Contributors
Full Changelog: v0.20.0...v0.21.0