Commit 69a2e635 by Clinton Blackburn

Validating SSL certificates when connecting to Elasticsearch

This update resolves the SSL warnings by instructing the Elasticsearch client to validate SSL certificates.

ECOM-4230
parent efcb54c1
...@@ -305,6 +305,9 @@ HAYSTACK_CONNECTIONS = { ...@@ -305,6 +305,9 @@ HAYSTACK_CONNECTIONS = {
'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
'URL': ELASTICSEARCH_URL, 'URL': ELASTICSEARCH_URL,
'INDEX_NAME': ELASTICSEARCH_INDEX_NAME, 'INDEX_NAME': ELASTICSEARCH_INDEX_NAME,
'KWARGS': {
'verify_certs': True,
},
}, },
} }
......
Markdown is supported
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