Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add central certificate storage (s3/minio) #58

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

na4ma4
Copy link
Contributor

@na4ma4 na4ma4 commented Oct 29, 2020

This PR is going to grow before it gets out of draft status.

This is a restart of #57 using minio/s3 instead of redis.

@@ -44,6 +44,7 @@ func (provider *AdhocProvider) GetExistingCertificate(
serverName name.ServerName,
) (*tls.Certificate, error) {
cache, _ := provider.cache.Load().(certificateCache)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI if you change a lot of unrelated things like this it makes it really hard to review PRs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just clearing some linter warnings, housekeeping I added was switching to wrapped errors and removing context.Context from loadCertificate since it wasn't used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants