node
node copied to clipboard
tls: add setKeyCert() to tls.Socket
This is mostly useful for implementing the ACME TLS-ALPN-01 challenge by overriding the certificate from a TLS server's ALPNCallback.
Review requested:
- [ ] @nodejs/crypto
Can this get labeled with author ready?
CI: https://ci.nodejs.org/job/node-test-pull-request/60149/
As far as I can tell this should be ready to land.
Landed in 6ba0af135402bf32896a37fd6617015a811c9b34