Documentation ¶
Index ¶
Constants ¶
View Source
const ( LetsEncryptURLStaging = "https://acme-staging-v02.api.letsencrypt.org/directory" LetsEncryptURLProduction = "https://acme-v02.api.letsencrypt.org/directory" )
View Source
const ( AuthorizationHeader = "Authorization" ContentTypeHeader = "Content-Type" ContentTypeJSON = "application/json" )
Variables ¶
Functions ¶
func ProvisionWildcardCert ¶
ProvisionWildcardCert provisions a Let's Encrypt wildcard certificate for *.<domain>.oss-acorn.io
Types ¶
type ACMEDNS01ChallengeProvider ¶
type ACMEDNS01ChallengeProvider struct {
// contains filtered or unexported fields
}
func NewACMEDNS01ChallengeProvider ¶
func NewACMEDNS01ChallengeProvider(endpoint, domain, token string) *ACMEDNS01ChallengeProvider
func (*ACMEDNS01ChallengeProvider) CleanUp ¶
func (d *ACMEDNS01ChallengeProvider) CleanUp(domain, token, keyAuth string) error
func (*ACMEDNS01ChallengeProvider) Present ¶
func (d *ACMEDNS01ChallengeProvider) Present(domain, token, keyAuth string) error
func (*ACMEDNS01ChallengeProvider) Timeout ¶
func (d *ACMEDNS01ChallengeProvider) Timeout() (timeout, interval time.Duration)
type DNSClient ¶
type DNSClient struct {
// contains filtered or unexported fields
}
func NewDNSClient ¶
func (*DNSClient) DeleteDNSRecord ¶
func (*DNSClient) SetTXTRecord ¶
type LEUser ¶
type LEUser struct {
// contains filtered or unexported fields
}
func (*LEUser) GetPrivateKey ¶
func (u *LEUser) GetPrivateKey() crypto.PrivateKey
func (*LEUser) GetRegistration ¶
func (u *LEUser) GetRegistration() *registration.Resource
Click to show internal directories.
Click to hide internal directories.