Jump to content

Python. SNIMissingWarning, InsecurePlatformWarning


Sasa
 Share

Recommended Posts

Palaidu skriptu konsolē izdeva man šādus paziņojumus:

#/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:315: 
SNIMissingWarning: 
An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not  available on this platform. 
This may cause the server to present an incorrect TLS certificate, which can cause validation failures. 
For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
 
#/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. 
This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. 
For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

Kāds var vienkāršiem vārdiem izstāstīt kas tas ir? Vai var atstāt kā ir vai vēlams sataisīt tā lai nebūtu tādu paziņojumu?

Edited by Sasa
Link to comment
Share on other sites

Tas nozīmē, ka tu lieto vecu Python un/vai OpenSSL versiju. Upgreidojies uz jaunākām versijām. Ja to nedarīsi, tad var gadīties, ka nesanāks izveidot TLS konekciju ar serveri (droši vien atkarīgs no supportētajām TLS fīčām). Kā arī tas ir liels drošības risks lietot vecas OpenSSL versijas.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...