Nodejs 16.16+: error:0308010C:digital envelope routines::unsupported

Zhenfu Shi i0ntempest at
Fri Aug 19 21:20:45 UTC 2022

Thanks for the info, for now --openssl-legacy-provider fixed the build for filebrowser.
I have a PR open for nodejs16 adding an openssl11 variant, but I’ll probably change it to just ping to openssl11 instead.


> On Aug 19, 2022, at 08:41, David Gilman <davidgilman1 at> wrote:
> When I did some sleuthing on this topic, which resulted in
> , this was my finding:
> - node before 17 doesn't really support openssl 3, resulting in the
> error you and I are seeing.
> - node 16.17 added --openssl-legacy-provider, which allows for openssl
> 3 to work on node 16. However, this is an ugly breaking change:
> everyone needs to tweak their CLIs or export this through NODE_OPTIONS
> envvar.
> - for compatibility, node 16 and before should just build against
> openssl 1.1 by default. This is the combination that's being used by
> pretty much everyone out there.
> On Thu, Aug 18, 2022 at 10:32 PM Zhenfu Shi <i0ntempest at> wrote:
>> Hi all,
>> Can someone please help me getting this error figured out? This error has been occurring since Nodejs 16.16 update and borked the build of my filebrowser port on all systems. Apparently it’s OpenSSL related, but all the workarounds I found failed in a way or another. Upstream said they could not reproduce this and our nodejs might have issues.
>> Build log:
>> Ticket:
>> Upstream issue:
>> Thanks,
>> Zhenfu
> -- 
> David Gilman
> :DG<

More information about the macports-dev mailing list