forked from extern/httpie-cli
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.
This commit is contained in:
parent
77955c9837
commit
f283de6968
14
README.rst
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user