-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
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 requesting new Node.js features.Issues requesting new Node.js features.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.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!