Node.js has matured to 17.x version just recently.
This change brings many improvements but the most notable one is an upgrade to OpenSSL 3.0. While the APIs of OpenSSL 3.0 should be mostly compatible with the older OpenSSL 1.1.1 version, the Node.js team anticipates some impact to the ecosystem. This is mainly due to tightened restrictions on the allowed althorithms and key sizes.
In case you're experiencing an
ERR_OSSL_EVP_UNSUPPORTED error in your application running Node.js 17, we recommend running the app with
--openssl-legacy-provider option such as:
node --openssl-legacy-provider app.js
This way you can temporarily revert to the legacy provider before you resolve issues with upgrading to OpenSSL 3.0
Happy coding 🚀