acme.net icon indicating copy to clipboard operation
acme.net copied to clipboard

Support for Alternative names

Open Bobris opened this issue 10 years ago • 2 comments

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

Bobris avatar Jan 02 '16 16:01 Bobris

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

ozgurerdogan avatar Sep 19 '16 12:09 ozgurerdogan

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.

ArsenShnurkov avatar Feb 20 '17 21:02 ArsenShnurkov