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

Check all the C/N and SANs of provided certificates before generating ACME certificates #2913

Merged
merged 1 commit into from Feb 26, 2018

Conversation

nmengin
Copy link
Contributor

@nmengin nmengin commented Feb 22, 2018

What does this PR do?

This PR fixes ACME certificates generation.
So far, only C/N of provided certificates was checked before to generate ACME certificate.

This PR adds a check on the SANs and generates ACME certificates only for domains which need it.

Motivation

Only generate ACME certificates for domains which need it.
Fixes #473, #2920

More

  • Added/updated tests

@dtomcej
Copy link
Contributor

dtomcej commented Feb 23, 2018

This looks awesome. Would also close #473 correct?

Copy link
Member

@juliens juliens 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

@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

@mmatur mmatur left a comment

Choose a reason for hiding this comment

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

LGTM 👏

…e ACME certificates only for domains which need it
@traefiker traefiker force-pushed the hotfix/acme-check-san-from-dyn-cert branch from 4f959f5 to 4c79a9a Compare February 26, 2018 10:22
@traefiker traefiker merged commit db483e9 into traefik:v1.5 Feb 26, 2018
@ldez ldez changed the title Check all the C/N and SANs of provided certificates before to generat… Check all the C/N and SANs of provided certificates before to generate ACME certificates only for domains which need it Feb 27, 2018
@ldez ldez changed the title Check all the C/N and SANs of provided certificates before to generate ACME certificates only for domains which need it Check all the C/N and SANs of provided certificates before to generate ACME certificates Feb 27, 2018
@ldez ldez changed the title Check all the C/N and SANs of provided certificates before to generate ACME certificates Check all the C/N and SANs of provided certificates before generating ACME certificates Feb 27, 2018
@nmengin nmengin deleted the hotfix/acme-check-san-from-dyn-cert branch February 27, 2018 16:29
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

6 participants