summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-05-21 14:22:33 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-05-21 14:22:33 -0600
commitbe9b6e7b57d5bbf13d26b1620d34efc4e12284f7 (patch)
treed0681d9bbb6fa1a7b828171cee63966c8ffc1e7d /modules/caddytls
parent2fd98cb040b617d2a018ae00a3a68b320de7dbc6 (diff)
Honor the configured CA value
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/acmemanager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/acmemanager.go b/modules/caddytls/acmemanager.go
index 1e37b86..efd8e23 100644
--- a/modules/caddytls/acmemanager.go
+++ b/modules/caddytls/acmemanager.go
@@ -107,7 +107,7 @@ func (m *acmeManagerMaker) makeCertMagicConfig(ctx caddy2.Context) certmagic.Con
}
return certmagic.Config{
- CA: certmagic.LetsEncryptStagingCA, //ap.CA, // TODO: Restore true value
+ CA: m.CA,
Email: m.Email,
Agreed: true,
DisableHTTPChallenge: m.Challenges.HTTP.Disabled,