Skip to content

Commit 66831b0

Browse files
committed
add ca cert verification to haystack/elasticsearch
1 parent 27e4cd7 commit 66831b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pydotorg/settings/cabotage.py

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
'ENGINE': 'haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine',
3030
'URL': HAYSTACK_SEARCHBOX_SSL_URL,
3131
'INDEX_NAME': config('HAYSTACK_INDEX', default='haystack-prod'),
32+
'KWARGS': {
33+
'ca_certs': '/var/run/secrets/cabotage.io/ca.crt',
34+
}
3235
},
3336
}
3437

0 commit comments

Comments
 (0)