Define certificate creation facilities #51169
Labels
crypto
Issues and PRs related to the crypto subsystem.
feature request
Issues that request new features to be added to Node.js.
never-stale
Mark issue so that it is never considered stale
What is the problem this feature will solve?
Right now, there is a gap in the
crypto
package in that, while one can parse existing certificates (e.g.,new X509Certificate(...)
), there's no exposed built-in functionality (that I could find) to create new certificates with specified properties.This feature will close that gap.
What is the feature you are proposing to solve the problem?
Add new classes and/or methods to
node:crypto
, so that one can create a signed certificate from its various parts, along with a signing key, CSR, etc.What alternatives have you considered?
I am currently using the npm package
pem
for this, which is a thin wrapper around call-outs to theopenssl
binary (which it assumes is available in the environment).The npm package
node-forge
seems to have the right functionality and is JS-native, though it is unclear how well-maintained it is.The text was updated successfully, but these errors were encountered: