From f283de696874a420163ed092f85250cff13c7a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= Date: Mon, 26 May 2014 15:31:16 +0200 Subject: [PATCH] Add info about SNI on Python 2.x to README This updates the HTTPS section of the README with instructions on how to get SNI working on Python 2.x. --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index d740b296..6497ad15 100644 --- a/README.rst +++ b/README.rst @@ -630,6 +630,20 @@ To use a client side certificate for the SSL communication, you can pass the path of the cert file with ``--cert``. If the private key is not contained in the cert file you may pass the path of the key file with ``--certkey``. +If you use Python 2.x and need to talk to servers that use **SNI (Server Name +Indication)** you need to install some additional dependencies: + +.. code-block:: bash + + $ pip install --upgrade pyopenssl pyasn1 ndg-httpsclient + + +You can use the following command to test SNI support: + +.. code-block:: bash + + $ http https://sni.velox.ch + ============== Output Options