プロジェクトの 1 つで使用django-elasticsearch-dslしています。AWS Elasticsearch でクラスターを作成した後、次のエラーが表示されるようになりましRoot certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically.た。https://elasticsearch-py.readthedocs.ioこのリンケ [リンク][1] で問題を解決するために提案された解決策がいくつかありますが、django-elasticsearch-dslそれは を使用しているものではありませんelasticsearch-py。次のようにしてのみエンドポイントを設定できますsettings.py。
ELASTICSEARCH_DSL = {
'default': {
'hosts': 'https://my-aws-elasticsearch-endpoint.eu-central-1.es.amazonaws.com'
}
}
この証明書を追加/有効にするにはどうすればよいですかdjango-elasticsearch-dsl