Skip to content

tls: introduce `secureContext` for `tls.connect`

Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

tls

Description of change

Add secureContext option to tls.connect. It is useful for caching client certificates, key, and CA certificates.

PR-URL: https://github.com/nodejs/node/pull/4246 Reviewed-By: James M Snell jasnell@gmail.com


Backport of: https://github.com/nodejs/node/pull/4246#issuecomment-251229400

Merge request reports

Loading