Skip to content

Commit 3611027

Browse files
tniessenMoLow
authored andcommitted
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: nodejs#47976 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 8cabfe7 commit 3611027

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/api/errors.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,9 @@ size is reached when the context is created.
854854

855855
### `ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED`
856856

857-
A client certificate engine was requested that is not supported by the version
858-
of OpenSSL being used.
857+
An OpenSSL engine was requested (for example, through the `clientCertEngine` or
858+
`privateKeyEngine` TLS options) that is not supported by the version of OpenSSL
859+
being used, likely due to the compile-time flag `OPENSSL_NO_ENGINE`.
859860

860861
<a id="ERR_CRYPTO_ECDH_INVALID_FORMAT"></a>
861862

0 commit comments

Comments
 (0)