# sgconfig certificate type heuristics

**URL:** <https://forum.search-guard.com/t/sgconfig-certificate-type-heuristics/1292>\
**Category:** Search Guard\
**Created:** [January 18, 2019, 3:10pm UTC](https://forum.search-guard.com/t/sgconfig-certificate-type-heuristics/1292 "2019-01-18T15:10:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabien\_Wernli](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@Fabien\_Wernli](https://forum.search-guard.com/u/Fabien_Wernli)\
**Post date:** [January 18, 2019, 3:10pm UTC](https://forum.search-guard.com/t/sgconfig-certificate-type-heuristics/1292/1 "2019-01-18T15:10:06Z")

</div>

I’m facing this issue:

ERR: You try to connect with a TLS node certificate instead of an admin client certificate

``

I’m certain this is not a node cert I’m using, so I’m guessing there is a bug.

What are the certificate type detection heuristics?

Cheers

---

<div class="post-metadata">

**Author:** ![Fabien\_Wernli](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@Fabien\_Wernli](https://forum.search-guard.com/u/Fabien_Wernli)\
**Post date:** [January 18, 2019, 3:17pm UTC](https://forum.search-guard.com/t/sgconfig-certificate-type-heuristics/1292/2 "2019-01-18T15:17:56Z")

</div>

does the `searchguard.authcz.admin_dn need to be the same on all nodes?`

`maybe that's the issue I'm facing? `

``

---

<div class="post-metadata">

**Author:** ![searchguard\_google\_group](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/searchguard_google_group/32/462_2.png) [@searchguard\_google\_group](https://forum.search-guard.com/u/searchguard_google_group)\
**Post date:** [January 18, 2019, 3:40pm UTC](https://forum.search-guard.com/t/sgconfig-certificate-type-heuristics/1292/3 "2019-01-18T15:40:14Z")

</div>

yes, needs to be identical on all nodes

(elasticsearch.yml should be generally be the same on all nodes with a few exceptions like node.name and certificates etc ...)

> **···**
>
> > Am 18.01.2019 um 16:17 schrieb Fabien Wernli \<swissunix@gmail.com\>:
> > 
> > does the searchguard.authcz.admin\_dn need to be the same on all nodes?  
> > maybe that's the issue I'm facing?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.  
> > To post to this group, send email to search-guard@googlegroups.com.  
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/b66b3af2-58b2-4ad0-9d47-a723ae830742%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/b66b3af2-58b2-4ad0-9d47-a723ae830742%40googlegroups.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).
