Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b7836c94
Commit
b7836c94
authored
Sep 16, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #999 from edx/ormsbee/ssl_checking_for_ss
Handle self-signed cert from Software Secure
parents
ff492697
4245c229
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
lms/djangoapps/verify_student/models.py
+2
-1
No files found.
lms/djangoapps/verify_student/models.py
View file @
b7836c94
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment