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 support for SSL certificate generation #766

Open
osokin opened this issue Jul 26, 2024 · 2 comments
Open

Add support for SSL certificate generation #766

osokin opened this issue Jul 26, 2024 · 2 comments
Labels

Comments

@osokin
Copy link
Contributor

osokin commented Jul 26, 2024

Is your feature request related to a problem? Please describe

NJS API is able to generate keys, however it's impossible to generate SSL certificates.

Describe the solution you'd like

Extend the existing API with creation SSL certificates.

Describe alternatives you've considered

There's no alternative solutions available.

Additional context

There's no any other context or screenshots about the feature request is available at the moment.

@osokin osokin added the feature label Jul 26, 2024
@gallarda
Copy link

A use case for this feature request is when NGNIX needs to build a custom mTLS client certificate for authentication to upstreams.

@jo-carter
Copy link
Contributor

@osokin @gallarda Did you investigate using https://www.npmjs.com/package/@peculiar/x509#set-crypto-provider-for-nodejs for this usecase?

I see it uses WebCrypto API, that is already supported in NJS.

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

3 participants