Node.js 18+ (OpenSSL 3)
Error: error:0308010C:digital envelope routines::unsupported
Node.js 17+ ships OpenSSL 3, which rejects the legacy hashing some older build tools rely on.
OpenSSL 3 disables legacy algorithms (e.g. the MD4-based hashing webpack 4 uses by default). Upgrading a Lambda or container to a Node 18/20/22 runtime surfaces this during a build or in crypto calls.
Related deadline: Lambda Node.js 18 EOL — 2027-02-01.
The free EOLkits scanner runs in your browser (nothing uploaded) and flags this and related breakages across your IaC and dependency files.
Primary source: https://nodejs.org/api/cli.html#--openssl-legacy-provider