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 "--group-domains" option #88

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

p12tic
Copy link

@p12tic p12tic commented Jan 18, 2017

This PR adds an option to group all subdomains of the certificate into a single command on the challenge verification step.

Currently the user needs to do a lot of round-trips between the primary terminal where sign_csr.py runs and the other terminals if the certificate includes a lot of subdomains. To be precise, the number of round trips is 2 + <number of subdomains>. This quickly becomes unwieldy as the number of subdomains grows. With the new --group-domains option the user only needs to do 3 round trips regardless of the number of domains. The old code-path is left untouched to support the use case when subdomains point to different servers.

Unfortunately I had to extract a couple of functions to reduce code duplication and thus compromised the simplicity of the script somewhat. Hopefully this won't be the issue that prevents the PR to land :-)

@p12tic p12tic changed the title Add group domains option Add "--group-domains" option Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant