Disable Python's native ssl verification (channel client)
This is a temporary measure until SOAPpy can be replaced.
import SOAPpy
+import ssl
import sys
"""
@@ -13,6 +14,10 @@ password = sys.argv[2]
secret = sys.argv[3]
url = sys.argv[4]
+# Disable certificate verification for Python >= 2.7.9.
+if hasattr(ssl, '_create_unverified_context'):
+ ssl._create_default_https_context = ssl._create_unverified_context
+
server = SOAPpy.SOAPProxy(url)
#Uncomment below line to see debug info
#server.config.debug = 1
