From f551b4dc0ddf5af0342149d4a5c653db8ee98770 Mon Sep 17 00:00:00 2001 From: Yoichi Kawasaki Date: Tue, 11 Oct 2016 12:34:42 +0000 Subject: [PATCH] add issue and its resolution --- Issues.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Issues.md b/Issues.md index 047dd67..69485a8 100644 --- a/Issues.md +++ b/Issues.md @@ -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 @@ -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)