From 3b94a739f2c1329ab40e3bf038633f15b164c933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Tue, 16 May 2023 11:32:17 +0200 Subject: [PATCH] doc: clarify CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED The error is not necessarily due to a client certificate engine. For example, the `privateKeyEngine` option might just as well cause this error and is independent of the client certificate. Also mention that this is likely due to a compile-time option of OpenSSL itself and not due to any particular engine. PR-URL: https://github.com/nodejs/node/pull/47976 Reviewed-By: Luigi Pinca Reviewed-By: Ben Noordhuis --- doc/api/errors.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 642d2445e53931..c0952792727e53 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -861,8 +861,9 @@ size is reached when the context is created. ### `ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED` -A client certificate engine was requested that is not supported by the version -of OpenSSL being used. +An OpenSSL engine was requested (for example, through the `clientCertEngine` or +`privateKeyEngine` TLS options) that is not supported by the version of OpenSSL +being used, likely due to the compile-time flag `OPENSSL_NO_ENGINE`.