草庐IT

unverified

全部标签

python - 抑制 InsecureRequestWarning : Unverified HTTPS request is being made in Python2. 6

我正在Python2.6中使用pyVmomi编写脚本并在使用其中一种连接方法时:service_instance=connect.SmartConnect(host=args.ip,user=args.user,pwd=args.password)我收到以下警告:/usr/lib/python2.6/site-packages/requests/packages/urllib3/connectionpool.py:734:InsecureRequestWarning:UnverifiedHTTPSrequestisbeingmade.Addingcertificateverificat
12