Skip to content
Snippets Groups Projects
Commit 4245c229 authored by David Ormsbee's avatar David Ormsbee
Browse files

Don't verify SSL cert when submitting to Software Secure (they're using...

Don't verify SSL cert when submitting to Software Secure (they're using self-signed cert for the moment).
parent ff492697
No related branches found
No related tags found
No related merge requests found
...@@ -529,7 +529,8 @@ class SoftwareSecurePhotoVerification(PhotoVerification): ...@@ -529,7 +529,8 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
response = requests.post( response = requests.post(
settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_URL"], settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_URL"],
headers=headers, headers=headers,
data=json.dumps(body, indent=2, sort_keys=True, ensure_ascii=False).encode('utf-8') data=json.dumps(body, indent=2, sort_keys=True, ensure_ascii=False).encode('utf-8'),
verify=False
) )
log.debug("Sent request to Software Secure for {}".format(self.receipt_id)) log.debug("Sent request to Software Secure for {}".format(self.receipt_id))
log.debug("Headers:\n{}\n\n".format(headers)) log.debug("Headers:\n{}\n\n".format(headers))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment