Try to fix ACME directory problem (#33072)
This commit is contained in:
parent
4f386e2c5e
commit
9882917bce
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func runACME(listenAddr string, m http.Handler) error {
|
|||
altTLSALPNPort = p
|
||||
}
|
||||
|
||||
magic := certmagic.NewDefault()
|
||||
magic := &certmagic.Default
|
||||
magic.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory}
|
||||
// Try to use private CA root if provided, otherwise defaults to system's trust
|
||||
var certPool *x509.CertPool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue