Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
45835efd
Commit
45835efd
authored
May 23, 2016
by
Clinton Blackburn
Committed by
Clinton Blackburn
May 24, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Verifying SSL certificates for Elasticsearch
ECOM-4230
parent
87801d37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
course_discovery/settings/production.py
+5
-0
requirements/production.txt
+1
-0
No files found.
course_discovery/settings/production.py
View file @
45835efd
...
...
@@ -3,6 +3,7 @@ import sys
from
logging.handlers
import
SysLogHandler
from
os
import
environ
import
certifi
import
yaml
from
course_discovery.settings.base
import
*
...
...
@@ -63,6 +64,10 @@ DB_OVERRIDES = dict(
HAYSTACK_CONNECTIONS
[
'default'
]
.
update
({
'URL'
:
ELASTICSEARCH_URL
,
'INDEX_NAME'
:
ELASTICSEARCH_INDEX_NAME
,
'KWARGS'
:
{
'verify_certs'
:
True
,
'ca_certs'
:
certifi
.
where
(),
},
})
for
override
,
value
in
DB_OVERRIDES
.
items
():
...
...
requirements/production.txt
View file @
45835efd
# Packages required in a production environment
-r base.txt
certifi==2016.2.28
gevent==1.1.1
gunicorn==19.4.5
mysqlclient==1.3.7
...
...
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