pki: Add trust subcommand to install root cert (closes #3204)

This commit is contained in:
Matthew Holt
2020-03-31 17:56:36 -06:00
parent 904d9cab39
commit 244b839f98
5 changed files with 73 additions and 20 deletions

View File

@ -155,3 +155,6 @@ func AppDataDir() string {
// ConfigAutosavePath is the default path to which the last config will be persisted.
var ConfigAutosavePath = filepath.Join(AppConfigDir(), "autosave.json")
// DefaultStorage is Caddy's default storage module.
var DefaultStorage = &certmagic.FileStorage{Path: AppDataDir()}