in reply to Can't build Net::AMQP::RabbitMQ

From https://stackoverflow.com/q/63508872 it sounds possible to install a newer openssl (with TLS 1.3 support) without disturbing the rest of the system, and (not sure exactly how) get your module build to use it.

Or, since AIUI Centos 7 is dead, seems like even if this is a legacy system, they'd want to upgrade it for security.

Or look for a centos 7 rpm for the perl module.

Or try building an older version of the module.