@marcel91200 / caddy Mirror · read-only / commits / b4dce74e
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 14, 05:15 UTC

tls: Use Let's Encrypt production endpoint

We're done testing this in staging

Matthew Holt committed Sep 11, 2019 at 18:52 UTC b4dce74e594eee0bf94a003ec0a1375463730357
1 file changed +3 -1
modules/caddytls/acmemanager.go
+3 -1
@@ -102,8 +102,10 @@ func (m *ACMEManagerMaker) Provision(ctx caddy.Context) error {
102 // SetDefaults sets necessary values that are
103 // currently empty to their default values.
104 func (m *ACMEManagerMaker) SetDefaults() {
105 + // TODO: Setting all these defaults might not be necessary
106 + // since CertMagic should fill them in for us...
107 if m.CA == "" {
106 - m.CA = certmagic.LetsEncryptStagingCA // certmagic.Default.CA // TODO: When not testing, switch to production CA
108 + m.CA = certmagic.Default.CA
109 }
110 if m.Email == "" {
111 m.Email = certmagic.Default.Email