-
Notifications
You must be signed in to change notification settings - Fork 55
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
Allow to use private CA certificate and key pair to issue certificates #43
base: master
Are you sure you want to change the base?
Conversation
Thanks for submitting this improvement PR @Envek |
is there any way to avoid manually importing the certs into the browser? |
Sorry for the delay, this actually looks cool! Somewhat similar, I've been using mkcert for long time and it just awesome. In development, I usually do for development is to check if mkcert is installed and spawn it. |
Hello. Is there an ETA for merging this PR? |
@Envek @jfromaniello @RikiReal I don't know why but this branch doesn't work with the recent version of
I believe |
And shouldn't signing certificates with CA follow this? https://en.wikipedia.org/wiki/Certificate_signing_request With forge it should be forge.pki.createCertificationRequest() |
@ayanamidev I ended up just using node-forge directly and it did what I needed it to do. Could you show me your code that throws the error? It sounds like there is something wrong with your certificate signature. |
@RikiReal It was this PR that throw the error |
Fixes #13
What's inside:
What's changed
Receive optional
ca
option object intogenerate
with your own Certificate Authority certificate and private key used to sign certificates.How to use it
Generate CA keypair with selfsigned itself
Generate certificate signed by this CA
Test it!
What do you think?