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

Prepend SAN cert variable with --domain #2

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

Conversation

junousi
Copy link
Member

@junousi junousi commented May 4, 2022

Readme instructs

sectigo_san_domains: " --domain server1.domain.example --domain server2.domain.example"

IMO this is slightly bad practice as it is forcing the user to mix an interface with data, instead of just providing data.

Proposing to prepend the extra --domain instead, which should be OK according to The Fine Manual:

          usage:
            certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

junousi added 2 commits May 4, 2022 07:48
Reading The Fine Manual,

"
            -d DOMAIN, --domains DOMAIN, --domain DOMAIN
                                  Domain names to apply. For multiple domains you can
                                  use multiple -d flags or enter a comma separated list
                                  of domains as a parameter. The first domain provided
                                  will be the subject CN of the certificate, and all
                                  domains will be Subject Alternative Names on the
                                  certificate.
"

Thus current command doesn't seem to work.
Proposing individual --domain flag for the SAN part if in use.
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