Documentation ¶
Overview ¶
Package acme provides a means of performing Let's Encrypt DNS challenges via a DNSConfig
Index ¶
Constants ¶
View Source
const ( LetsEncryptLive = "https://acme-v02.api.letsencrypt.org/directory" LetsEncryptStage = "https://acme-staging-v02.api.letsencrypt.org/directory" )
Variables ¶
View Source
var IgnoredProviders = map[string]bool{}
IgnoredProviders is a lit of provider names that should not be used to fill challenges.
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v0.2.8
type Account struct { Email string `json:"email"` Registration *acme.RegistrationResource `json:"registration"` // contains filtered or unexported fields }
func (*Account) GetPrivateKey ¶ added in v0.2.8
func (a *Account) GetPrivateKey() crypto.PrivateKey
func (*Account) GetRegistration ¶ added in v0.2.8
func (a *Account) GetRegistration() *acme.RegistrationResource
type CertConfig ¶
type Client ¶
type Client interface {
IssueOrRenewCert(config *CertConfig, renewUnder int, verbose bool) (bool, error)
}
type Storage ¶ added in v0.2.8
type Storage interface { // Get Existing certificate, or return nil if it does not exist GetCertificate(name string) (*acme.CertificateResource, error) StoreCertificate(name string, cert *acme.CertificateResource) error GetAccount(acmeHost string) (*Account, error) StoreAccount(acmeHost string, account *Account) error }
Storage is an abstracrion around how certificates, keys, and account info are stored on disk or elsewhere.
Click to show internal directories.
Click to hide internal directories.