We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cfff5a commit ed1828cCopy full SHA for ed1828c
cmd/web_acme.go
@@ -54,8 +54,10 @@ func runACME(listenAddr string, m http.Handler) error {
54
altTLSALPNPort = p
55
}
56
57
- magic := &certmagic.Default
58
- magic.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory}
+ // FIXME: this path is not right, it uses "AppWorkPath" incorrectly, and writes the data into "AppWorkPath/https"
+ // Ideally it should migrate to AppDataPath write to "AppDataPath/https"
59
+ certmagic.Default.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory}
60
+ magic := certmagic.NewDefault()
61
// Try to use private CA root if provided, otherwise defaults to system's trust
62
var certPool *x509.CertPool
63
if setting.AcmeCARoot != "" {
0 commit comments