summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-02-02 17:23:52 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-02-02 17:23:52 -0700
commitbf50d7010a26468791f4397c0f0c4f9a8ed1d6a2 (patch)
tree6956ee718cea0976e2fe23e5867010655cb2df0f /modules/caddytls
parent8ec90f1c402b5e1aa1eea59e45f700aeb45da6ba (diff)
acmeserver: Support custom CAs from Caddyfile
The HTTP Caddyfile adapter can now configure the PKI app, and the acme_server directive can now be used to specify a custom CA used for issuing certificates. More customization options can follow later as needed.
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/internalissuer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/internalissuer.go b/modules/caddytls/internalissuer.go
index 416369f..a6ae587 100644
--- a/modules/caddytls/internalissuer.go
+++ b/modules/caddytls/internalissuer.go
@@ -94,7 +94,7 @@ func (iss *InternalIssuer) Provision(ctx caddy.Context) error {
// IssuerKey returns the unique issuer key for the
// confgured CA endpoint.
func (iss InternalIssuer) IssuerKey() string {
- return iss.ca.ID()
+ return iss.ca.ID
}
// Issue issues a certificate to satisfy the CSR.