diff options
author | Brian Freeman <bf1936@att.com> | 2019-10-03 15:25:39 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-10-03 15:25:55 -0500 |
commit | 383a3e820a83c7c526aee35312a94a923a53022c (patch) | |
tree | 66b74d2c0d4aa4d05b5361bb80d8f6c81bd546de | |
parent | d52717dc912d26b4dc17ae1563ab994a919f8152 (diff) |
Fix SSL cert verify for SDNC
Issue-ID: INT-1265
Change-Id: I7c36dc479b73a8b663cae4472ed29182d0f6672b
Signed-off-by: Brian Freeman <bf1936@att.com>
-rwxr-xr-x | test/vcpe/preload.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |