NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'.

5 min read

This warning indicates that the version of urllib3 you are using (v2.0) requires OpenSSL version 1.1.1 or newer. However, your 'ssl' module is compiled with LibreSSL version 2.8.3.

To resolve this issue, you have a few options:

  1. Upgrade your 'ssl' module to a version that is compiled with OpenSSL 1.1.1+. You can check if there is a newer version available from the official source or package manager.

  2. Downgrade urllib3 to a version that is compatible with the LibreSSL version you have. Check if there is a version of urllib3 that supports the version of LibreSSL you are using.

  3. Update your OpenSSL version to 1.1.1 or newer. This may involve compiling and installing OpenSSL manually, or using a package manager to update it if available.

Note that the best option depends on your specific requirements and the environment you are working in.