diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-11 18:52:07 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-11 18:52:07 -0600 |
commit | b4dce74e594eee0bf94a003ec0a1375463730357 (patch) | |
tree | caa81700261ff6bb8d0bc878133b02906ead91e2 /modules/caddytls | |
parent | fe389fcbd7c3b8c64167d317b31adf7b98147fa8 (diff) |
tls: Use Let's Encrypt production endpoint
We're done testing this in staging
Diffstat (limited to 'modules/caddytls')
-rw-r--r-- | modules/caddytls/acmemanager.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 |