-
Notifications
You must be signed in to change notification settings - Fork 15
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
Generating a cert using a CSR does not appear possible #80
Comments
Actually, the @peculiar/x509 library does support generating x509 certificates from a Certificate Signing Request (CSR) and a Certificate Authority (CA) certificate. Here’s an example to illustrate how you can achieve this:
This process allows you to create a new CA, generate a CSR, and then create a service certificate from both. |
@microshine Thank-you so much for this example. This has helped me fully implement what I needed. I had been close, but I don't think I'd have got there without your last example snippet here. Thanks so much for taking the time to put that together, I really appreciate it. 🙏🏼 |
There doesn't seem to be the ability to generate an x509 certificate from a CSR and CA certificate. The flow I require is to create a new CA, then a CSR and then a service certificate from them both.
It looks like that's currently unsupported in this lib? Other than that, I was getting on very well with it.
The text was updated successfully, but these errors were encountered: