# Fleet Server - Error - x509: certificate is valid for 192.168.x.x, not x.x.x.x

**URL:** <https://discuss.elastic.co/t/fleet-server-error-x509-certificate-is-valid-for-192-168-x-x-not-x-x-x-x/310526>\
**Category:** Elastic Agent\
**Created:** [July 25, 2022, 11:42am UTC](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-is-valid-for-192-168-x-x-not-x-x-x-x/310526 "2022-07-25T11:42:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alipujaistopo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alipujaistopo/32/50791_2.png) [@alipujaistopo](https://discuss.elastic.co/u/alipujaistopo)\
**Post date:** [July 25, 2022, 11:42am UTC](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-is-valid-for-192-168-x-x-not-x-x-x-x/310526/1 "2022-07-25T11:42:43Z")

</div>

i just want to using tls to connect my agent. so i follow from [Configure SSL/TLS for self-managed Fleet Servers | Fleet and Elastic Agent Guide [master] | Elastic](https://www.elastic.co/guide/en/fleet/master/secure-connections.html#prereqs)

but when i want to install i got an error "Fleet Server - Error - x509: certificate is valid for 192.168.x.x, not x.x.x.x" whenever. when i see my fleet-server.crt

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69717b8b61ea2a1da952daeb18e1401881656229.png)

so what's wrong with this? help please

---

<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:** [August 22, 2022, 11:43am UTC](https://discuss.elastic.co/t/fleet-server-error-x509-certificate-is-valid-for-192-168-x-x-not-x-x-x-x/310526/2 "2022-08-22T11:43:09Z")

</div>

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