Commit b7836c94 by David Ormsbee

Merge pull request #999 from edx/ormsbee/ssl_checking_for_ss

Handle self-signed cert from Software Secure
parents ff492697 4245c229
...@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment