@marcel91200 / caddy Mirror · read-only / commits / be9b6e7b
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

Honor the configured CA value

Matthew Holt committed May 21, 2019 at 14:22 UTC be9b6e7b57d5bbf13d26b1620d34efc4e12284f7
1 file changed +1 -1
modules/caddytls/acmemanager.go
+1 -1
@@ -107,7 +107,7 @@ func (m *acmeManagerMaker) makeCertMagicConfig(ctx caddy2.Context) certmagic.Con
107 }
108
109 return certmagic.Config{
110 - CA: certmagic.LetsEncryptStagingCA, //ap.CA, // TODO: Restore true value
110 + CA: m.CA,
111 Email: m.Email,
112 Agreed: true,
113 DisableHTTPChallenge: m.Challenges.HTTP.Disabled,