You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like the ability to use the default cache directory logic in situations where I have to create a custom cert manager, however, it is currently a private function. Would a change to expose this logic be accepted?
This is an ACME cert package, not a filesystem path package.
To clarify I am less interested in the path string value, and more interested in obtaining a DirCache with default path logic when I am unable to use NewListener.
The cacheDir function includes some additional logic for windows and falls back to the home directory. I was looking for a consistent way to cache certificates regardless of how autocert.Manager is created, but certainly understand if there is no interest in exposing these internals.
I would like the ability to use the default cache directory logic in situations where I have to create a custom cert manager, however, it is currently a private function. Would a change to expose this logic be accepted?
Reference code: https://github.com/golang/crypto/blob/6914964337150723782436d56b3f21610a74ce7b/acme/autocert/listener.go#L142
The text was updated successfully, but these errors were encountered: