Skip to content

Commit 7120dc2

Browse files
author
Elias Nygren
committed
add information about requests[security]
1 parent 4c6f6e6 commit 7120dc2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ Alternatively, if you want the newest master or a devel branch - clone the proje
1414
python setup.py install
1515
```
1616

17+
**!! SSL security update for python 2 !!**
18+
* short story: `pip install requests[security]` should solve all of your problems.
19+
* long story:
20+
* upcloud-python-api uses [requests](http://docs.python-requests.org/en/latest/)
21+
for HTTP(S) that in turn uses [urllib3](https://urllib3.readthedocs.org/en/latest/)
22+
* urllib3 may detect that your python2.x's SSL is lacking as described
23+
[here](https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning) and
24+
[here](https://urllib3.readthedocs.org/en/latest/security.html#pyopenssl).
25+
* you may also be interested in (especially if `requests[security]` did not work for you on Ubuntu)
26+
[http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package]
27+
(http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package)
28+
29+
1730
**Supported versions as of 0.3.0** (offline tests pass with tox):
1831

1932
* python 2.6

0 commit comments

Comments
 (0)