-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
TLS: keys from engines? #28921
Copy link
Copy link
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.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
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.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
As far as I can see NodeJS TLS does support OpenSSL engines. But it looks like it only supports them for certificates.
My use-case is a private key managed inside an engine. What I would do, e.g. with libcurl is
With nodejs it goes like:
So looks like it tries to interpret
"myenginekeyname"as PEM. Am I doing something wrong, or is this use-case not supported at all?Thanks!