Skip to content
Snippets Groups Projects
Commit 3f122027 authored by adeelehsan's avatar adeelehsan
Browse files

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
parent 8d951ae8
Branches
Tags
No related merge requests found
......@@ -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)
......
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