Skip to content

Commit

Permalink
add issue and its resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoichi Kawasaki committed Oct 11, 2016
1 parent afaa264 commit f551b4d
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion Issues.md
Expand Up @@ -3,7 +3,7 @@
## Installation failure: No Python.h error message

Issue overview is
* OS: Ubuntu 14.04.4 LTS (Bash on windows)
* OS: Ubuntu 14.04.4 LTS
* Issue Type: Installation failure

Get the following error message, then azuresshconfig installtion fail
Expand All @@ -18,5 +18,25 @@ sudo pip install azhresshconfig
```


## Execution failure: SNIMissingWarning and InsecurePlatformWarning error message

Issue overview is
* OS: Ubuntu 14.04.4 LTS
* Issue Type: Execution failure

Get the following error message while azuresshconfig executing
```
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:318: 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. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
```

A resolution is to install pyOpenSSL ndg-httpsclient pyasn1 package
```
pip install pyOpenSSL ndg-httpsclient pyasn1
```
See also Stackoverflow:[SSL InsecurePlatform error when using Requests package](http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package)


0 comments on commit f551b4d

Please sign in to comment.