summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2023-05-16 11:32:17 +0200
committerGitHub <noreply@github.com>2023-05-16 09:32:17 +0000
commit32691bdf7daf8dc0db0d178d0c75188ca3d259e6 (patch)
tree215592f83e9c8c17c859493443f89da1f149cd94
parentf36461dc6a0a334cbe8e427788377826232f3e4f (diff)
downloadnode-new-32691bdf7daf8dc0db0d178d0c75188ca3d259e6.tar.gz
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 <luigipinca@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
-rw-r--r--doc/api/errors.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 642d2445e5..c095279272 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`.
<a id="ERR_CRYPTO_ECDH_INVALID_FORMAT"></a>