summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-06-02 11:13:44 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-06-02 11:13:44 -0600
commite18c37306448c5604bb50618c19d7e247fb8805f (patch)
treebec8efe6aa3317dde0a27c378b14b93cd3b78921 /modules
parent9a7756c6e4b4ddb945bede3ddb2dfbf241208915 (diff)
caddytls: Actually use configured test CA
Diffstat (limited to 'modules')
-rw-r--r--modules/caddytls/acmeissuer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddytls/acmeissuer.go b/modules/caddytls/acmeissuer.go
index 4295cda..d610946 100644
--- a/modules/caddytls/acmeissuer.go
+++ b/modules/caddytls/acmeissuer.go
@@ -134,6 +134,7 @@ func (m *ACMEIssuer) Provision(ctx caddy.Context) error {
func (m *ACMEIssuer) makeIssuerTemplate() (certmagic.ACMEManager, error) {
template := certmagic.ACMEManager{
CA: m.CA,
+ TestCA: m.TestCA,
Email: m.Email,
CertObtainTimeout: time.Duration(m.ACMETimeout),
TrustedRoots: m.rootPool,