-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
TLS: keys from engines? #28921
Comments
Your custom engine needs to call |
@bnoordhuis
|
@bnoordhuis Thank you for getting to me by the way :) |
Ah, I think I misunderstood your example. A new option that tells Node.js to load the key with |
@bnoordhuis Cool, thank you for confirming. I've added a PR with a possible implementation, not sure how well it fits the existing code base. |
Fixed by #28973 |
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!
The text was updated successfully, but these errors were encountered: