# \[beatCM\] 6.5.0 Internal Certificate authority, or Mismatch host how to configure?

**URL:** <https://discuss.elastic.co/t/beatcm-6-5-0-internal-certificate-authority-or-mismatch-host-how-to-configure/156970>\
**Category:** Beats\
**Created:** [November 16, 2018, 4:02am UTC](https://discuss.elastic.co/t/beatcm-6-5-0-internal-certificate-authority-or-mismatch-host-how-to-configure/156970 "2018-11-16T04:02:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToddFerg](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@ToddFerg](https://discuss.elastic.co/u/ToddFerg)\
**Post date:** [November 16, 2018, 4:02am UTC](https://discuss.elastic.co/t/beatcm-6-5-0-internal-certificate-authority-or-mismatch-host-how-to-configure/156970/1 "2018-11-16T04:02:28Z")

</div>

When I am attempting to enroll a beat to centralized management I'm receiving this error:

> [root@dactyl filebeat]# filebeat -e -v enroll [https://thehostname:5601](https://thehostname:5601) thetokengivenbykibana -E setup.kibana.ssl.verification\_mode=none  
> 2018-11-15T22:02:16.466-0600 INFO instance/beat.go:616 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]  
> 2018-11-15T22:02:16.467-0600 INFO instance/beat.go:623 Beat UUID: 96539986-712a-4b88-b757-9a8faf291d2f  
> 2018-11-15T22:02:16.467-0600 INFO kibana/client.go:118 Kibana url: [https://thesamehostname:5601](https://thesamehostname:5601)  
> Error while enrolling: fail to execute the HTTP POST request: Post [https://thesamehostname5601/api/beats/agent/96539986-xxxx-4b88-xxx-9a8faf291d2f:](https://thesamehostname5601/api/beats/agent/96539986-xxxx-4b88-xxx-9a8faf291d2f:) x509: certificate signed by unknown authority

I'm trying to just get it connected, I also have a case where a hostname mismatches (I blame nat), How would one go about specifiying a CA, or ssl verification none?

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [November 16, 2018, 1:38pm UTC](https://discuss.elastic.co/t/beatcm-6-5-0-internal-certificate-authority-or-mismatch-host-how-to-configure/156970/2 "2018-11-16T13:38:19Z")

</div>

You will have to add your CA certificate to the systems CA list.

---

<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:** [December 14, 2018, 3:50pm UTC](https://discuss.elastic.co/t/beatcm-6-5-0-internal-certificate-authority-or-mismatch-host-how-to-configure/156970/3 "2018-12-14T15:50:56Z")

</div>

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