Disable ssl check globally in python 2.7.10 - Pycontrol -


please suggest way disable certificate verification check globally in scenario don't know how pass ssl context.

import pycontrol.pycontrol pc  b = pc.bigip( hostname = "xx.xx.xx.xx", username = "xxxxxxx", password = "xxxxxxx", fromurl = true, wsdls = ['globallb.wideip','globallb.pool'] )  <urlopen error [ssl: certificate_verify_failed] certificate verify failed (_ssl.c:590)> 

with version below 2.7.6 works fine, know how make work in 2.7.10.

i have faced problem introduced 2.7.9, , in situation of scripting against intranet sites (which have zero chance of getting full certs installed into) have taken simplistic approach of staying 2.7.8.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -