In Ubuntu's next release, 22.04, we're using OpenSSL 3 and libssl3. Unfortunately, there's a LOT of things here that're throwing deprecation warnings as errors, because keys/commands were deprectated in this OpenSSL.
amd64 build logs are here: https://launchpadlibrarian.net/573077487/buildlog_ubuntu-jammy-amd64.xca_2.3.0-1build1_BUILDING.txt.gz
there's other build logs available for each architecture here: https://launchpad.net/ubuntu/+source/xca/2.3.0-1build1
Basically, though, there's no OpenSSL 3.0 support currently.