Skip to content

Commit 52cbe73

Browse files
committed
Add consts for GTS
1 parent 28e3a67 commit 52cbe73

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

acmeissuer.go

+11-4
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,18 @@ var DefaultACME = ACMEIssuer{
565565
HTTPProxy: http.ProxyFromEnvironment,
566566
}
567567

568-
// Some well-known CA endpoints available to use.
568+
// Some well-known CA endpoints available to use. See
569+
// the documentation for each service; some may require
570+
// External Account Binding (EAB) and possibly payment.
571+
// COMPATIBILITY NOTICE: These constants refer to external
572+
// resources and are thus subject to change or removal
573+
// without a major version bump.
569574
const (
570-
LetsEncryptStagingCA = "https://acme-staging-v02.api.letsencrypt.org/directory"
571-
LetsEncryptProductionCA = "https://acme-v02.api.letsencrypt.org/directory"
572-
ZeroSSLProductionCA = "https://acme.zerossl.com/v2/DV90"
575+
LetsEncryptStagingCA = "https://acme-staging-v02.api.letsencrypt.org/directory" // https://letsencrypt.org/docs/staging-environment/
576+
LetsEncryptProductionCA = "https://acme-v02.api.letsencrypt.org/directory" // https://letsencrypt.org/getting-started/
577+
ZeroSSLProductionCA = "https://acme.zerossl.com/v2/DV90" // https://zerossl.com/documentation/acme/
578+
GoogleTrustStagingCA = "https://dv.acme-v02.test-api.pki.goog/directory" // https://cloud.google.com/certificate-manager/docs/public-ca-tutorial
579+
GoogleTrustProductionCA = "https://dv.acme-v02.api.pki.goog/directory" // https://cloud.google.com/certificate-manager/docs/public-ca-tutorial
573580
)
574581

575582
// prefixACME is the storage key prefix used for ACME-specific assets.

0 commit comments

Comments
 (0)