mirror of
https://github.com/go-acme/lego.git
synced 2024-12-05 20:02:38 +02:00
d457f70ae0
* feat: implemented TLS-ALPN-01 challenge
16 lines
734 B
Go
16 lines
734 B
Go
package acme
|
|
|
|
// Challenge is a string that identifies a particular type and version of ACME challenge.
|
|
type Challenge string
|
|
|
|
const (
|
|
// HTTP01 is the "http-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#http
|
|
// Note: HTTP01ChallengePath returns the URL path to fulfill this challenge
|
|
HTTP01 = Challenge("http-01")
|
|
// DNS01 is the "dns-01" ACME challenge https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#dns
|
|
// Note: DNS01Record returns a DNS record which will fulfill this challenge
|
|
DNS01 = Challenge("dns-01")
|
|
// TLSALPN01 is the "tls-alpn-01" ACME challenge https://tools.ietf.org/html/draft-ietf-acme-tls-alpn-01
|
|
TLSALPN01 = Challenge("tls-alpn-01")
|
|
)
|