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

Consider default cert domain in certificate store #5353

Merged
merged 3 commits into from Sep 11, 2019
Merged

Consider default cert domain in certificate store #5353

merged 3 commits into from Sep 11, 2019

Conversation

nrwiersma
Copy link
Contributor

@nrwiersma nrwiersma commented Sep 11, 2019

What does this PR do?

This allows for the default certificate to be considered when getting all domains from a TLS certificate store.

Motivation

When getting all domains for a store, the default cert domain should be included in the domains list. This is applicable when generating ACME domains, it should not generate a certificate for a domain that falls under the default domain.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

Co-authored-by: Nicolas Mengin nmengin.pro@gmail.com

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

LGTM

Nice catch 👌

tls/certificate_store.go Outdated Show resolved Hide resolved
@nrwiersma
Copy link
Contributor Author

Fixed

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jbdoumenjou jbdoumenjou left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

None yet

5 participants