def METHOD_NAME(self) -> crypto.X509:
    """Reads the TLS certificate from the configured file, and returns it
    Returns:
        The certificate
    """
    cert_path = self.tls_certificate_file
    logger.info("Loading TLS certificate from %s", cert_path)
    cert_pem = self.read_file(cert_path, "tls_certificate_path")
    cert = crypto.load_certificate(crypto.FILETYPE_PEM, cert_pem.encode())
    return cert