Files
deb-python-pyvmomi/pyVim
Tianhao He 92c1de5056 PyVmomi: Fix pyvmomi to allow for the cert verification breaking change in Python 2.7.9
In Python versions 2.7, 3.4 and 3.5, there was a security vulnerability because python http libraries
would not verify the certificate by default. For more dtails on the issue,
please see https://www.python.org/dev/peps/pep-0476/

The httplib is fixed in Python 2.7.9 to expect a 'context' param which can
accept an SSL Context. This change exposes that param named as 'sslContext'
all the way upto Connect/SmartConnect.

Further, if clients want the old behavior they can use the 'ssl' module to
create an unverified context and pass it in as shown below.

import ssl
context = ssl._create_unverified_context()
si = Connect(host=<host>, user=<user> , pwd=<password>, sslContext=context)
2015-10-14 13:54:50 -07:00
..
2013-12-14 13:36:09 -05:00