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 CommonName to generated certificates #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elexx
Copy link

@elexx elexx commented Jan 16, 2023

Adding a CN to the subject makes generated certificates usable in DSM (Synology).

I created a certificate, uploaded it to my DSM and are able to use it for example as "System default" certificate. Also DSM now shows a "Issued to:" value:
image

Without this patch, "Issued to:" was empty and the certificate was not selectable for any usages.

Fixes #469

@elexx
Copy link
Author

elexx commented Jan 27, 2023

Hey @FiloSottile , just wondering if you've had a chance to take a look at this pull request? I think it's good to go, but let me know if there's anything else that needs to be done. Thanks!

@LibbyJax
Copy link

LibbyJax commented Feb 12, 2023

@elexx I actually went ahead and built from source on Windows to add this pull request. I also have a Synology Disk Station and although it handled the cert imports fine on mine, I just liked having the CN label to easily differentiate between my different certs. Thanks for this!

And @FiloSottile, thank you for this awesome tool. I use it all the time.

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.

Doesn't work with Synology nginx as it doesn't have a name
2 participants