# Error dialing x509: certificate signed by unknown authority

**URL:** https://discuss.elastic.co/t/error-dialing-x509-certificate-signed-by-unknown-authority/322258
**Category:** Beats
**Tags:** metricbeat
**Created:** [January 1, 2023, 10:55am UTC](https://discuss.elastic.co/t/error-dialing-x509-certificate-signed-by-unknown-authority/322258 "2023-01-01T10:55:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ntmxglrtayl03](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ntmxglrtayl03/32/115075_2.png) [@ntmxglrtayl03](https://discuss.elastic.co/u/ntmxglrtayl03)
#### Post date: [January 1, 2023, 10:55am UTC](https://discuss.elastic.co/t/error-dialing-x509-certificate-signed-by-unknown-authority/322258/1 "2023-01-01T10:55:45Z")

</div>

I configured them but still got this error  
Error dialing x509: certificate signed by unknown authority

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f008c1facb43eafcbeb64b878c991648067a89cb.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91df36afed4dbb9f795d858e9fe4c53e1e7c6d4b.jpeg)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/e/bedbab27bc45541cc0c8af385475028d9d6dee12.png)

---

<div class="post-metadata">

### Author: ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)
#### Post date: [January 6, 2023, 11:18am UTC](https://discuss.elastic.co/t/error-dialing-x509-certificate-signed-by-unknown-authority/322258/2 "2023-01-06T11:18:08Z")

</div>

How have you generated the SSL certificates ? Did you elasticsearch-certutil for self-signed certificates or were they provided by some CSP after raising a CSR on organization level?  
Also, what's the point of configuring SSL on elasticsearch module when you are not going to validate the certificate/key pair during handshake ?

---

<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: [February 3, 2023, 1:18pm UTC](https://discuss.elastic.co/t/error-dialing-x509-certificate-signed-by-unknown-authority/322258/3 "2023-02-03T13:18:12Z")

</div>

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