Skip to content

crypto: add ticketKeys option in createSecureContext

There's a method to initialize a TLS Server using tls.createSever by specifying a ticketKeys option, but none in the underlying constructor, tls.createSecureContext.

This PR adds the ticketKeys option to tls.createSecureContext.

Fixes: https://github.com/nodejs/node/issues/20908

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

/cc @nodejs/crypto @bnoordhuis @silverwind @DiegoTUI

I guess this qualifies as a semver-minor?

Merge request reports

Loading