Pip install flask | Error Could not fetch UR: 403 Client Error: SNI is require

I have an error when trying to install the library.

pip3 install flask

Could not fetch URL: https://pypi.python.org/simple/flask/: 403 Client Error: SNI is required

Ubuntu Server 14, help me :weary:

OpenSSL last version
Python 3.10.10
pip 22.3.1 installe

Please post the exact command you ran. If you ran it using pip3, also post the output of pip3 --version.

Edited! Check post

Please post the exact output of pip3 --version. Thanks.