diff --git a/samples/vsphere/vcenter/hvc/administrator_client.py b/samples/vsphere/vcenter/hvc/administrator_client.py index 938d2036..85d5f183 100644 --- a/samples/vsphere/vcenter/hvc/administrator_client.py +++ b/samples/vsphere/vcenter/hvc/administrator_client.py @@ -72,7 +72,8 @@ class AdministratorClient(object): # Login to vCenter stub_config = vapiconnect.connect(host=args.server, user=args.username, - pwd=args.password) + pwd=args.password, + skip_verification=args.skipverification) # Create admin stub self.admin_client = Administrators(stub_config) self.cleanup = args.cleardata diff --git a/samples/vsphere/vcenter/hvc/links_client.py b/samples/vsphere/vcenter/hvc/links_client.py index e743ac45..ea4815a6 100644 --- a/samples/vsphere/vcenter/hvc/links_client.py +++ b/samples/vsphere/vcenter/hvc/links_client.py @@ -86,7 +86,8 @@ class LinksClient(object): # Login to vCenter stub_config = vapiconnect.connect(host=args.server, user=args.username, - pwd=args.password) + pwd=args.password, + skip_verification=args.skipverification) # Create links stub self.links_client = Links(stub_config)