-
Notifications
You must be signed in to change notification settings - Fork 23
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
subjectAlternativeName support (eg www.example.org also gets a sAN example.org) #37
Comments
Dumping some intermediate thoughts, since I haven't fully solved this yet. There seem to be (at least) two ways to handle this:
|
Not necessarily a good idea, but what about adding an endpoint parameter that points to a .toml/.json/etc file with additional configuration preferences, including an " Or better, reserve a .json filename in the |
I am -1 on hardcoding I am ok with reserving a In terms of AcmeIssuingService API, maybe we can have:
I prefer option 2 as is explicit. The In terms of I am looking at certbot https://github.com/certbot/certbot/blob/b50abddb5f144d0570ce57dfa87804e781037175/docs/cli-help.txt#L70 and I see that they have So ICertificateStore can index the stored objects based on a certificate name and not on the server_name (domain). Beside renaming I have not yet checked |
In the end I added SAN support in a quick and dirty way ... but it works :) ... see https://github.com/twisted/txacme/compare/37-san-support Instead of I am using a simple in-memory dict based storage, but I guess that this also works with file based storage. In this way, the API is not changed and is backward compatible. If you want to use SAN certificates, just use comma separated domains. I guess that "space" can also be used instead of "comma" character as the delimiter. |
comma works for me; it's not valid in DNS names :) |
It'd be incredibly convenient if txacme would, when renewing a certificate whose name starts with www, request that the cert contain a subjectAlternativeName without the
www
.The text was updated successfully, but these errors were encountered: