From 3f1220276d72cada2d4aa5f812768a3dff6e711a Mon Sep 17 00:00:00 2001 From: adeelehsan <adeel.ehsan@arbisoft.com> Date: Fri, 3 Apr 2020 11:11:13 +0500 Subject: [PATCH] Certification verification enabled Previously software secure was using self sign certificates. Now they are not using it that's why we are enabling ssl certificate verfication. PROD-1395 --- lms/djangoapps/verify_student/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/verify_student/models.py b/lms/djangoapps/verify_student/models.py index cdf9250ae8c..8b84a214bd0 100644 --- a/lms/djangoapps/verify_student/models.py +++ b/lms/djangoapps/verify_student/models.py @@ -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) -- GitLab