# Error: error:0308010C:digital envelope routines::unsupported

**Code:** `ERR_OSSL_EVP_UNSUPPORTED` · **Category:** Node.js · **Seen on:** Node.js

An old build tool (webpack 4, old react-scripts) uses a hash algorithm that OpenSSL 3 in Node 17+ disables.

## Meaning

Node 17 switched to OpenSSL 3, which removes MD4 by default. Webpack 4 uses MD4 for hashing, so builds crash.

## Common causes

- webpack 4 / react-scripts 4 on Node 17+
- Other tools hashing with legacy algorithms

## Quick fix

1. Upgrade to webpack 5 / react-scripts 5+ / Vite
2. Temporary: NODE_OPTIONS=--openssl-legacy-provider
3. Or use Node 16 for that legacy project

## Detailed fix by platform

### Node.js

1. `NODE_OPTIONS=--openssl-legacy-provider npm run build`

## How to diagnose

1. **Tool** — Which bundler version?
2. **Node** — Version 17+?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/nodejs/err-ossl-evp-unsupported)
