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

Feature Request - Adding Key Attributes to CSR (SCEP Client) #194

Open
brokoler opened this issue May 5, 2022 · 3 comments
Open

Feature Request - Adding Key Attributes to CSR (SCEP Client) #194

brokoler opened this issue May 5, 2022 · 3 comments

Comments

@brokoler
Copy link

brokoler commented May 5, 2022

Hello,

I would like to ask if it is possible to add specific Key Usage and Extended Key Usage attributes to the CSR generated by the SCEP client.
For example I would like to add the Key Usage option "CRL Sign" and "Certificate Sign".

From my testings following attributes are set with the default CSR generated by the Go SCEP client:
grafik

Would be great if the Go SCEP client would add multiple configuration parameters to set the values.
As long this is not possible, is the client compatible to a manually generated CSR?

Reason for my request: I'm using Aruba Clearpass as a SCEP server which is working with the client application, but it's not possible to set the Key Usage attributes for clients on my CA itself.

Best regards

@brokoler
Copy link
Author

brokoler commented May 5, 2022

Alternatively would it be possible to add following parameter?

-existing-csr string
path to existing csr, which is used for SCEP request

I only see the option to import an existing private-key

@avanide
Copy link

avanide commented Sep 2, 2024

Hi,
Did you find a solution? I would like to change the key usage too.
I see the client has an option "-certificate string". Could it be used to create the certificate "by hand" before requesting the signature (CSR)?

@jessepeterson
Copy link
Member

I'd recommend taking a look at smallstep's CA: https://github.com/smallstep/certificates

Thanks!

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