Skip to content

Commit

Permalink
store certificate in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Dec 2, 2024
1 parent ec187db commit 62dfc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/walletextension/walletextension_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func NewContainerFromConfig(config wecommon.Config, logger gethlog.Logger) *Cont
certManager := &autocert.Manager{
Prompt: autocert.AcceptTOS,
HostPolicy: autocert.HostWhitelist(config.TLSDomain),
// Cache: autocert.DirCache("certs"), // TODO: We can add cache for certs (+ don't forget to include the directory in enclave.json)
Cache: autocert.DirCache("/data/certs"),
}

// Create HTTP-01 challenge handler
Expand Down

0 comments on commit 62dfc0e

Please sign in to comment.