# Certificate signed by unknown authority filebeat

**URL:** <https://discuss.elastic.co/t/certificate-signed-by-unknown-authority-filebeat/181219>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 15, 2019, 2:33pm UTC](https://discuss.elastic.co/t/certificate-signed-by-unknown-authority-filebeat/181219 "2019-05-15T14:33:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnkhouse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rnkhouse/32/46236_2.png) [@rnkhouse](https://discuss.elastic.co/u/rnkhouse)\
**Post date:** [May 15, 2019, 2:33pm UTC](https://discuss.elastic.co/t/certificate-signed-by-unknown-authority-filebeat/181219/1 "2019-05-15T14:33:10Z")

</div>

I am getting this error from filebeat:

> Failed to connect to backoff(elasticsearch([https://elk.example.com:9200](https://elk.example.com:9200))): Get [https://elk.example.com:9200](https://elk.example.com:9200): x509: certificate signed by unknown authority  
> INFO pipeline/output.go:93 Attempting to reconnect to backoff(elasticsearch([https://elk.example.com:9200](https://elk.example.com:9200))) with 1468 reconnect attempt(s)  
> INFO [publish] pipeline/retry.go:189 retryer: send unwait-signal to consumer  
> INFO [publish] pipeline/retry.go:191 done  
> NFO [publish] pipeline/retry.go:166 retryer: send wait signal to consumer  
> INFO [publish] pipeline/retry.go:168 done

However, elasticsearch is having valid SSL by letsencrypt. (This is not a self-signed certificate).

Filebeat kubernetes config:

```
output.elasticsearch:
  hosts: ['${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}']
  username: ${ELASTICSEARCH_USERNAME}
  password: ${ELASTICSEARCH_PASSWORD}

```

---

<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:** [June 12, 2019, 2:33pm UTC](https://discuss.elastic.co/t/certificate-signed-by-unknown-authority-filebeat/181219/2 "2019-06-12T14:33:13Z")

</div>

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