-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
Description
To generate self-signed x.509 certificates and private keys from within an application, modules like pem have to rely on spawning the system's OpenSSL, which is problematic as it can be out of date or worse, not available at all (Windows).
I think it would make sense to expose the following APIs from the bundled OpenSSL through crypto
:
- generate a private key
- generate a self-signed certificate
- generate dh parameters
Accompaning the above, I could also see the following:
- read a private key's size
- read certificate fields
- read dh parameters's key size
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.