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

Support for Alternative names #5

Open
Bobris opened this issue Jan 2, 2016 · 2 comments
Open

Support for Alternative names #5

Bobris opened this issue Jan 2, 2016 · 2 comments

Comments

@Bobris
Copy link

Bobris commented Jan 2, 2016

Is it somehow possible to encode alternative domain names, like to have identical certificate for:
www.example.com and example.com?

@ozgurerdogan
Copy link

Any news on this? Can we currently only create cert. for one hostname with not www san support?

@ArsenShnurkov
Copy link

ArsenShnurkov commented Feb 20, 2017

as I understood, there is bug in the code.

default value of separator is '\0':

https://github.com/gsscoder/commandline/blob/master/src/CommandLine/OptionAttribute.cs#L27
sealed class OptionAttribute : BaseAttribute
separator = '\0';

and it is not set/changed at invocation:
https://github.com/oocx/acme.net/blob/master/src/Oocx.ACME.Console/Options.cs#L14
[Option('d', "domain", HelpText = "The names of the domains for which you want to request a certificate.", Required = true)]

should be something like , Separator=':'
this allows to give -d example.com:www.example.com as command line argument.
But it's also possible just to give -d example.com www.example.com and this works now. I don't dig why.

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

No branches or pull requests

3 participants