Deploy python connector with docker ca_cert parameter is not a path (run locally)

Hi,
I have an error during the run of docker image (run connector service in docker).
I have been following the instructions from https://github.com/elastic/connectors-python/blob/main/docs/DOCKER.md (steps: 1-5). Please see my config.yml:

elasticsearch:
  host: https://172.22.0.2:9200
  api_key: "HERE_IS_MY_AP_KEY_FROM_ELASTIC_CONFLUENCE_CONNECTOR"
  ca_certs: http_ca.crt (i tried also with '')
service:
  idling: 30
  hearbeat: 300
  max_errors: 20
  max_errors_span: 600

service_type: confluence
connector_id: "HERE_IS_MY_CONNECTOR_ID"

sources:
  confluence: connectors.sources.confluence:ConfluenceDataSource

I have an error called: ca_cert parameter is not a path. In addition I've checked my http_ca.crt and it works fine (used in curl or python client). May you please help resolve this issue? I do not know how to fix it

Hi @sk30613. The ca_certs value should be a path, and I believe you should use double-quotes. Based on your config, try something like this: "./http_ca.crt"

See Configuration | Elasticsearch Python Client [8.9] | Elastic

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.