From 383a3e820a83c7c526aee35312a94a923a53022c Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Thu, 3 Oct 2019 15:25:39 -0500 Subject: Fix SSL cert verify for SDNC Issue-ID: INT-1265 Change-Id: I7c36dc479b73a8b663cae4472ed29182d0f6672b Signed-off-by: Brian Freeman --- test/vcpe/preload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py index 7a3b9aa04..f4a2895f1 100755 --- a/test/vcpe/preload.py +++ b/test/vcpe/preload.py @@ -106,7 +106,7 @@ class Preload: def preload(self, template_file, replace_dict, url): json_data = self.generate_json(template_file, replace_dict) self.logger.debug(json.dumps(json_data, indent=4, sort_keys=True)) - r = requests.post(url, headers=self.vcpecommon.sdnc_headers, auth=self.vcpecommon.sdnc_userpass, json=json_data) + r = requests.post(url, headers=self.vcpecommon.sdnc_headers, auth=self.vcpecommon.sdnc_userpass, json=json_data, verify=False) response = r.json() if int(response.get('output', {}).get('response-code', 0)) != 200: self.logger.debug(json.dumps(response, indent=4, sort_keys=True)) -- cgit 1.2.3-korg >beijing Parent POMs to be used by CCSDK clientsGrokmirror user
summaryrefslogtreecommitdiffstats
blob: e4e91fda32f8c787f76d17d59c463d4be180ca16 (plain)
1
2
3
4
5