summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-02-26 19:27:58 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-02-26 19:27:58 -0700
commitec309c6d52fdfce0431a1303a49f28c3f546176a (patch)
treecd393f46fe81728937c196a444a9483c73d44614 /modules/caddytls
parentce5a0934a89aabf1bc145ed0100df5f889b7dd74 (diff)
caddypki: Add SignWithRoot option for ACME server
See https://caddy.community/t/setting-up-a-caddy-pki-based-on-a-windows- root-ca-was-getting-pki-config/11616/7 Also improved a godoc comment in the caddytls package.
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/tls.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index 51c4cab..31b13fb 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -478,11 +478,14 @@ type Certificate struct {
Tags []string
}
-// AutomateLoader is a no-op certificate loader module
-// that is treated as a special case: it uses this app's
-// automation features to load certificates for the
-// list of hostnames, rather than loading certificates
-// manually.
+// AutomateLoader will automatically manage certificates for the names
+// in the list, including obtaining and renewing certificates. Automated
+// certificates are managed according to their matching automation policy,
+// configured elsewhere in this app.
+//
+// This is a no-op certificate loader module that is treated as a special
+// case: it uses this app's automation features to load certificates for the
+// list of hostnames, rather than loading certificates manually.
type AutomateLoader []string
// CaddyModule returns the Caddy module information.