pydelion.com

Using Python Requests 2.2.1 with SNI

Server-Name-Indication, or SNI, is an official extension to SSL where the client tells the server what hostname it is contacting. It allows to host multiple SSL enabled website on one IP. To get SNI working with requests 2.2.1 you would need the following steps.

To install next packages:

If it works for you, that’s great.  But if doesn’t, you might want to make sure:

Once you have all these packages you should be able to use Requests which is able to talk to SNI enabled servers.

 

 

Exit mobile version