Python 2.7.9+ and 3.4+ provide a function to create a context that has hostname verification enabled and checks against the system certificate store. Using that to create the connection would make all usages of the lib secure by default, including wsdump.py.
Python 2.7.9+ and 3.4+ provide a function to create a context that has hostname verification enabled and checks against the system certificate store. Using that to create the connection would make all usages of the lib secure by default, including wsdump.py.