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

Merge pull request #999 from edx/ormsbee/ssl_checking_for_ss

Handle self-signed cert from Software Secure
parents ff492697 4245c229
No related branches found
No related tags found
No related merge requests found
......@@ -529,7 +529,8 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
response = requests.post(
settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_URL"],
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("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