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

When signing a certificate request, subjectAltName cannot be copied to certificate when using templates #485

Open
meyergru opened this issue Nov 2, 2023 · 0 comments
Labels

Comments

@meyergru
Copy link

meyergru commented Nov 2, 2023

After I create a CSR and create subjectAltNames like DNS:xyz, IP:1.2.3.4, I can choose to "copy extensions from the request" when I try to sign it.

However, If I also want to apply a template, like for "key usage" or other parameters, I can only choose between applying extensions or subject or both (all). So, if I want to use anything useful from the template, the specific request parameters are overwritten.

I cannot have the best of both worlds - or at least I cannot make it work:

  • define a type of certificate via a template plus
  • overwrite specific parameters (especially subjectAltName) in the CSR

The only way to have both is to repeat every specific setting like subjectAltName during signing, which is problematic especially when certificates are short-lived and shall be re-issued later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants