Skip to content
JS
Node.js error

INVALID_PURPOSE

The supplied certificate cannot be used for the specified purpose.

Reference entryNode.jsFetched

Node.js documentation lists the code INVALID_PURPOSE without the printed message text.

Category
OpenSSL error codes
Severity
error
Runtime
node
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: Node.js documentation. Data fetched 2026-09-25T01:43:12.381Z.