Default CentOS repositories do not carry latest version of Python, we need download,build and install Python Building Python 3.11 requires a openssl 1.1.1 or newer ...