Merge pull request #23591 from edx/aehsan/prod-1395/certificate_verification_enabled_for_software_secure

Certification verification enabled
This commit is contained in:
adeelehsan
2020-04-03 12:56:29 +05:00
committed by GitHub

View File

@@ -940,7 +940,7 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_URL"],
headers=headers,
data=simplejson.dumps(body, indent=2, sort_keys=True, ensure_ascii=False).encode('utf-8'),
verify=False
verify=True
)
log.info(u"Sent request to Software Secure for receipt ID %s.", self.receipt_id)