# Deploy python connector with docker ca\_cert parameter is not a path (run locally)

**URL:** <https://discuss.elastic.co/t/deploy-python-connector-with-docker-ca-cert-parameter-is-not-a-path-run-locally/340642>\
**Category:** Elastic Agent\
**Tags:** elastic-stack-security\
**Created:** [August 11, 2023, 1:46pm UTC](https://discuss.elastic.co/t/deploy-python-connector-with-docker-ca-cert-parameter-is-not-a-path-run-locally/340642 "2023-08-11T13:46:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sk30613](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@sk30613](https://discuss.elastic.co/u/sk30613)\
**Post date:** [August 11, 2023, 1:46pm UTC](https://discuss.elastic.co/t/deploy-python-connector-with-docker-ca-cert-parameter-is-not-a-path-run-locally/340642/1 "2023-08-11T13:46:02Z")

</div>

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](https://github.com/elastic/connectors-python/blob/main/docs/DOCKER.md) (steps: 1-5). Please see my config.yml:

```auto
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

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/7/3749d74f50cee2749979905899c9464b7604dad8.png)

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

---

<div class="post-metadata">

**Author:** ![Soucy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/soucy/32/119756_2.png) [@Soucy](https://discuss.elastic.co/u/Soucy)\
**Post date:** [August 29, 2023, 5:58pm UTC](https://discuss.elastic.co/t/deploy-python-connector-with-docker-ca-cert-parameter-is-not-a-path-run-locally/340642/2 "2023-08-29T17:58:45Z")

</div>

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](https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/config.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 26, 2023, 5:59pm UTC](https://discuss.elastic.co/t/deploy-python-connector-with-docker-ca-cert-parameter-is-not-a-path-run-locally/340642/3 "2023-09-26T17:59:05Z")

</div>

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