From b4dce74e594eee0bf94a003ec0a1375463730357 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 11 Sep 2019 18:52:07 -0600 Subject: tls: Use Let's Encrypt production endpoint We're done testing this in staging --- modules/caddytls/acmemanager.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/caddytls/acmemanager.go b/modules/caddytls/acmemanager.go index 36f1c21..572bbd8 100644 --- a/modules/caddytls/acmemanager.go +++ b/modules/caddytls/acmemanager.go @@ -102,8 +102,10 @@ func (m *ACMEManagerMaker) Provision(ctx caddy.Context) error { // SetDefaults sets necessary values that are // currently empty to their default values. func (m *ACMEManagerMaker) SetDefaults() { + // TODO: Setting all these defaults might not be necessary + // since CertMagic should fill them in for us... if m.CA == "" { - m.CA = certmagic.LetsEncryptStagingCA // certmagic.Default.CA // TODO: When not testing, switch to production CA + m.CA = certmagic.Default.CA } if m.Email == "" { m.Email = certmagic.Default.Email -- cgit v1.2.3