From 2e4a163012d9a960f014935272cd279e5e72a93b Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Fri, 30 Nov 2018 11:20:55 -0800 Subject: tls: support "BEGIN TRUSTED CERTIFICATE" for ca: Support the same PEM certificate formats for the ca: option to tls.createSecureContext() that are supported by openssl when loading a CAfile. Fixes: https://github.com/nodejs/node/issues/24761 PR-URL: https://github.com/nodejs/node/pull/24733 Reviewed-By: Anna Henningsen Reviewed-By: Ben Noordhuis --- doc/api/tls.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/api/tls.md') diff --git a/doc/api/tls.md b/doc/api/tls.md index 44ad2bdf2d..9bfe2a902a 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1054,6 +1054,9 @@ argument.