I saw you try to enable ubuntu 22 with OpenSSL 3.0 and erlang 25 in the build system.
I compiled erlang 25 with OpenSSL 3.0 and crypto kept warning that OpenSSL 3.0 is not production-ready, Zotonic didn’t boot because some ciphers weren’t available. I had even opened an issue with mochiweb, but it seems the OpenSSL 3.0 from ubuntu is strangely compiled, couldn’t find the problem…
So the only way to get zotonic working was to build OpenSSL 1.1.1o and link it at build time to erlang 25.
Anyway, for new installations ubuntu server 22.04 LTS will be a problem for Zotonic until this is fixed.
Instructions to build OpenSSL 1.1.1o + erlang 25 with kerl
Download OpenSSL 1.1.10 source code, uncompress and execute this command
./config --prefix=~/devel/local/ssl --openssldir=~/devel/local/ssl shared
make && make install