diff --git a/test/vcpe/preload.py b/test/vcpe/preload.py
index 7a3b9aa..f4a2895 100755
--- a/test/vcpe/preload.py
+++ b/test/vcpe/preload.py
@@ -106,7 +106,7 @@
     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))
