Commit Graph

16 Commits

Author SHA1 Message Date
Matthew Holt
5ee48a3108
Add config option to disable ARI
This may be temporary until ARI is more mature
2024-08-08 08:08:29 -06:00
Matt Holt
0e88b3eaa1
Initial implementation of ARI (#286)
* Initial implementation of ARI

* Enhance redundancy, robustness, and logging

* Improve ARI updating; integrate on-demand TLS; detect changed window
2024-05-07 09:46:03 -06:00
Matthew Holt
855d4670a4 Fix derp 2024-04-19 11:43:53 -06:00
Matthew Holt
f64401c80d
Add log about account
And cert chain
2024-04-16 14:52:47 -06:00
Matthew Holt
f7ea6fb698
Enhancements to make ZeroSSL issuer more usable in Caddy 2024-04-11 12:23:53 -06:00
Matthew Holt
74862ff45a
Upgrade acmez to v2 beta
Adds support for customizing NotBefore/NotAfter times of certs
2024-04-08 14:05:43 -06:00
Matthew Holt
52cbe735c6
Add consts for GTS 2024-04-08 12:44:35 -06:00
Matt Holt
6095ab8069
Initial implementation of ZeroSSL API issuer (#279)
* Initial implementation of ZeroSSL API issuer

Still needs CA support for CommonName-less certs

* Accommodate ZeroSSL CSR requirements; fix DNS prop check

* Fix README example

* Fix comment
2024-04-08 10:59:55 -06:00
Matt Holt
c82ff34ad2
Retry with new account if account disappeared remotely (#269)
* Retry with new account if account disappeared remotely

* Emit log when account is missing from ACME server
2024-03-14 15:35:35 -06:00
Matthew Holt
51b31907aa Fix downstream race conditions with NewAccountFunc
These functions typically modify the ACMEIssuer.
Only one such consumer of this API is known (Caddy).
2023-07-19 16:12:43 -06:00
Matthew Holt
d8b13df4d1 Add pki.goog to known public ACME CAs 2023-06-30 18:45:39 -06:00
Georg Müller
7d6aa77b24
Allow specifying http proxy via acme issuer template (#212) 2022-12-14 10:55:29 -07:00
Matthew Holt
5deb7c2fb0 Make logger values required
Eliminates a bajillion nil checks and footguns
(except in tests, which bypass exported APIs, but that is expected)

Most recent #207

Logging can still be disabled via zap.NewNop(), if necessary.
(But disabling logging in CertMagic is a really bad idea.)
2022-09-26 10:19:30 -06:00
Matthew Holt
5981e55018
Fix race conditions (close #195)
Also update setting acmez.Client.Logger in accordance
with latest acmez commit, which removes redundant
logger.
2022-08-01 23:04:11 -06:00
Matthew Holt
9b9f842b03
Rename getEmail -> setEmail
It doesn't really return the email address; it mutates the ACMEIssuer.
2022-07-05 16:56:22 -06:00
Matthew Holt
55be6d8695
Rename ACMEManager -> ACMEIssuer, CertificateManager -> Manager
This is necessary to eliminate confusing naming conventions, since now
we have Manager types, having an issuer called ACMEManager was
confusing.

CertificateManager is a redundant name as this package is called
CertMagic, so that a Manager manages certificates should be obvious.
It's also more succinct. Plus, it's consistent with Issuer which is not
named CertificateIssuer.
2022-03-24 11:34:31 -06:00