Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Churner ¶
type Churner struct {
// contains filtered or unexported fields
}
The Churner creats and immediately revokes certificates. Certificates are issued using the configured ACME client using DNS01 challenges under the configured baseDomain. Serials and revocation time are stored in the db.
func New ¶
func New(baseDomain string, acmeDirectory string, dnsProvider certmagic.DNSProvider, db *db.Database, cutoff time.Time) (*Churner, error)
New returns a Churner with an ACME client configured. `baseDomain` should be a domain name that the `dnsProvider` can create/delete records for. The certs will be issued from the CA at `acmeDirectory`. The resulting serials are stored into `db`
func (*Churner) CheckMissing ¶
CheckMissing looks if previously stored serials are still in the database, meaning they haven't been seen in a CRL. CheckMissing returns all certs revoked before a cutoff time.
Click to show internal directories.
Click to hide internal directories.