# Searchguard Not Picking Up http.enabled\_protocols

**URL:** <https://forum.search-guard.com/t/searchguard-not-picking-up-http-enabled-protocols/750>\
**Category:** Search Guard\
**Created:** [January 23, 2018, 3:38pm UTC](https://forum.search-guard.com/t/searchguard-not-picking-up-http-enabled-protocols/750 "2018-01-23T15:38:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Stack](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@Chris\_Stack](https://forum.search-guard.com/u/Chris_Stack)\
**Post date:** [January 23, 2018, 3:38pm UTC](https://forum.search-guard.com/t/searchguard-not-picking-up-http-enabled-protocols/750/1 "2018-01-23T15:38:07Z")

</div>

I am trying to limit communication to my ES cluster to TLSv1.2. When I set the enabled protocol for the transport layer it works no problem. When I do the same thing for the http layer nothing happens and I get a note in the ES log informing me it has enabled both TLSv1.1 and TLSv1.2. I have also tried limiting the ciphers using searchguard.ssl.http.enabled\_ciphers to

- “TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384”

- “TLS\_ECDHE\_RSA\_WITH\_AES\_256\_CBC\_SHA384”

- “TLS\_ECDH\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384”

- “TLS\_ECDH\_RSA\_WITH\_AES\_256\_CBC\_SHA384”

- “TLS\_DHE\_DSS\_WITH\_AES\_256\_CBC\_SHA256”

- “TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256”

- “TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA256”

- “TLS\_ECDH\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256”

- “TLS\_ECDH\_RSA\_WITH\_AES\_128\_CBC\_SHA256”

- “TLS\_DHE\_DSS\_WITH\_AES\_128\_CBC\_SHA256”

- “TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384”

- “TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256”

- “TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384”

- “TLS\_RSA\_WITH\_AES\_256\_GCM\_SHA384”

- “TLS\_ECDH\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384”

- “TLS\_ECDH\_RSA\_WITH\_AES\_256\_GCM\_SHA384”

- “TLS\_DHE\_DSS\_WITH\_AES\_256\_GCM\_SHA384”

- “TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256”

- “TLS\_RSA\_WITH\_AES\_128\_GCM\_SHA256”

- “TLS\_ECDH\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256”

- “TLS\_ECDH\_RSA\_WITH\_AES\_128\_GCM\_SHA256”

- “TLS\_DHE\_DSS\_WITH\_AES\_128\_GCM\_SHA256”

- “TLS\_EMPTY\_RENEGOTIATION\_INFO\_SCSVF”

but was able to connect with ECDHE-RSA-AES128-SHA.

Is the configuration honored for the http layer? Do I need to run SGAdmin.bat again? I didn’t seem to need to for the transport layer.

When asking questions, please provide the following information:

- Search Guard and Elasticsearch version: ES 6.1.1 and SearchGuard 6.1.1-25

- Installed and used enterprise modules, if any - None

- JVM version and operating system version - 1.8.144 on windows

- Search Guard configuration files

```auto
  searchguard.ssl.http.enabled_protocols:
- "TLSv1.2"

```

- Elasticsearch log messages on debug level

- Other installed Elasticsearch or Kibana plugins, if any - None

---

<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 23, 2018, 5:42pm UTC](https://forum.search-guard.com/t/searchguard-not-picking-up-http-enabled-protocols/750/2 "2018-01-23T17:42:27Z")

</div>

can not reproduce. You need to add searchguard.ssl.http.enabled\_ciphers and searchguard.ssl.http.enabled\_protocols in elasticsearch.yml  
After that node must be restarted. sgadmin needs not to be executed for that.

Pls send you elasticsearch.yml along with the full logs when the node starts, something like

[2018-01-23T18:30:47,993][INFO][o.e.e.NodeEnvironment] [searchguard\_testnode\_1] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable\_space [60.8gb], net total\_space [464.7gb], types [hfs]  
[2018-01-23T18:30:47,995][INFO][o.e.e.NodeEnvironment] [searchguard\_testnode\_1] heap size [3.5gb], compressed ordinary object pointers [true]  
[2018-01-23T18:30:47,997][INFO][o.e.n.Node] [searchguard\_testnode\_1] node name [searchguard\_testnode\_1], node ID [miGltmSVSWKGKaJrXBj8oQ]  
...  
[2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] TLS Transport Client Provider : null  
[2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] TLS Transport Server Provider : null  
[2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] TLS HTTP Provider : JDK  
[2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] Enabled TLS protocols for transport layer : [TLSv1.2, TLSv1.1]  
[2018-01-23T18:30:49,546][INFO][c.f.s.s.DefaultSearchGuardKeyStore] Enabled TLS protocols for HTTP layer : [TLSv1.2]  
...  
[2018-01-23T18:30:55,874][INFO][o.e.n.Node] [searchguard\_testnode\_2] started

Check with one of the tools listed here:

> <https://superuser.com/questions/109213/how-do-i-list-the-ssl-tls-cipher-suites-a-particular-website-offers>

> **···**
>
> > Am 23.01.2018 um 16:38 schrieb Chris Stack \<chris.stack@bigbear.io\>:
> > 
> > I am trying to limit communication to my ES cluster to TLSv1.2. When I set the enabled protocol for the transport layer it works no problem. When I do the same thing for the http layer nothing happens and I get a note in the ES log informing me it has enabled both TLSv1.1 and TLSv1.2. I have also tried limiting the ciphers using searchguard.ssl.http.enabled\_ciphers to  
> > - "TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_RSA\_WITH\_AES\_256\_CBC\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_RSA\_WITH\_AES\_256\_CBC\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_DHE\_DSS\_WITH\_AES\_256\_CBC\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_RSA\_WITH\_AES\_128\_CBC\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_DHE\_DSS\_WITH\_AES\_128\_CBC\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_RSA\_WITH\_AES\_256\_GCM\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_RSA\_WITH\_AES\_256\_GCM\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_DHE\_DSS\_WITH\_AES\_256\_GCM\_SHA384"  
> > &nbsp;&nbsp;- "TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_RSA\_WITH\_AES\_128\_GCM\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_ECDH\_RSA\_WITH\_AES\_128\_GCM\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_DHE\_DSS\_WITH\_AES\_128\_GCM\_SHA256"  
> > &nbsp;&nbsp;- "TLS\_EMPTY\_RENEGOTIATION\_INFO\_SCSVF"
> > 
> > but was able to connect with ECDHE-RSA-AES128-SHA.
> > 
> > Is the configuration honored for the http layer? Do I need to run SGAdmin.bat again? I didn't seem to need to for the transport layer.
> > 
> > When asking questions, please provide the following information:
> > 
> > \* Search Guard and Elasticsearch version: ES 6.1.1 and SearchGuard 6.1.1-25  
> > \* Installed and used enterprise modules, if any - None  
> > \* JVM version and operating system version - 1.8.144 on windows  
> > \* Search Guard configuration files  
> > searchguard.ssl.http.enabled\_protocols:  
> > &nbsp;&nbsp;- "TLSv1.2"
> > 
> > \* Elasticsearch log messages on debug level  
> > \* Other installed Elasticsearch or Kibana plugins, if any - None
> > 
> > --  
> > 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/50de1b6a-c4bf-4c8f-a6e9-e974fef5e0a0%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/50de1b6a-c4bf-4c8f-a6e9-e974fef5e0a0%40googlegroups.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).

---

<div class="post-metadata">

**Author:** ![Chris\_Stack](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@Chris\_Stack](https://forum.search-guard.com/u/Chris_Stack)\
**Post date:** [January 23, 2018, 6:02pm UTC](https://forum.search-guard.com/t/searchguard-not-picking-up-http-enabled-protocols/750/3 "2018-01-23T18:02:25Z")

</div>

I apologize, it ended being a different configuration issue.I can confirm it does work.

![](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/a4c908ec4365db3402ab6b0d1d5f21884871a5e2.png)

> **···**
>
> On Tue, Jan 23, 2018 at 12:42 PM, SG [info@search-guard.com](mailto:info@search-guard.com) wrote:
> 
> > can not reproduce. You need to add searchguard.ssl.http.enabled\_ciphers and searchguard.ssl.http.enabled\_protocols in elasticsearch.yml
> > 
> > After that node must be restarted. sgadmin needs not to be executed for that.
> > 
> > Pls send you elasticsearch.yml along with the full logs when the node starts, something like
> > 
> > [2018-01-23T18:30:47,993][INFO][o.e.e.NodeEnvironment] [searchguard\_testnode\_1] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable\_space [60.8gb], net total\_space [464.7gb], types [hfs]
> > 
> > [2018-01-23T18:30:47,995][INFO][o.e.e.NodeEnvironment] [searchguard\_testnode\_1] heap size [3.5gb], compressed ordinary object pointers [true]
> > 
> > [2018-01-23T18:30:47,997][INFO][o.e.n.Node] [searchguard\_testnode\_1] node name [searchguard\_testnode\_1], node ID [miGltmSVSWKGKaJrXBj8oQ]
> > 
> > …
> > 
> > [2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] TLS Transport Client Provider : null
> > 
> > [2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] TLS Transport Server Provider : null
> > 
> > [2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] TLS HTTP Provider : JDK
> > 
> > [2018-01-23T18:30:49,545][INFO][c.f.s.s.DefaultSearchGuardKeyStore] Enabled TLS protocols for transport layer : [TLSv1.2, TLSv1.1]
> > 
> > [2018-01-23T18:30:49,546][INFO][c.f.s.s.DefaultSearchGuardKeyStore] Enabled TLS protocols for HTTP layer : [TLSv1.2]
> > 
> > …
> > 
> > [2018-01-23T18:30:55,874][INFO][o.e.n.Node] [searchguard\_testnode\_2] started
> > 
> > Check with one of the tools listed here:
> > 
> > [https://superuser.com/questions/109213/how-do-i-list-the-ssl-tls-cipher-suites-a-particular-website-offers](https://superuser.com/questions/109213/how-do-i-list-the-ssl-tls-cipher-suites-a-particular-website-offers)
> > 
> > > Am 23.01.2018 um 16:38 schrieb Chris Stack [chris.stack@bigbear.io](mailto:chris.stack@bigbear.io):
> > 
> > > 
> > 
> > > I am trying to limit communication to my ES cluster to TLSv1.2. When I set the enabled protocol for the transport layer it works no problem. When I do the same thing for the http layer nothing happens and I get a note in the ES log informing me it has enabled both TLSv1.1 and TLSv1.2. I have also tried limiting the ciphers using searchguard.ssl.http.enabled\_ciphers to
> > 
> > > - “TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384”
> > 
> > > - “TLS\_ECDHE\_RSA\_WITH\_AES\_256\_CBC\_SHA384”
> > 
> > > - “TLS\_ECDH\_ECDSA\_WITH\_AES\_256\_CBC\_SHA384”
> > 
> > > - “TLS\_ECDH\_RSA\_WITH\_AES\_256\_CBC\_SHA384”
> > 
> > > - “TLS\_DHE\_DSS\_WITH\_AES\_256\_CBC\_SHA256”
> > 
> > > - “TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256”
> > 
> > > - “TLS\_ECDHE\_RSA\_WITH\_AES\_128\_CBC\_SHA256”
> > 
> > > - “TLS\_ECDH\_ECDSA\_WITH\_AES\_128\_CBC\_SHA256”
> > 
> > > - “TLS\_ECDH\_RSA\_WITH\_AES\_128\_CBC\_SHA256”
> > 
> > > - “TLS\_DHE\_DSS\_WITH\_AES\_128\_CBC\_SHA256”
> > 
> > > - “TLS\_ECDHE\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384”
> > 
> > > - “TLS\_ECDHE\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256”
> > 
> > > - “TLS\_ECDHE\_RSA\_WITH\_AES\_256\_GCM\_SHA384”
> > 
> > > - “TLS\_RSA\_WITH\_AES\_256\_GCM\_SHA384”
> > 
> > > - “TLS\_ECDH\_ECDSA\_WITH\_AES\_256\_GCM\_SHA384”
> > 
> > > - “TLS\_ECDH\_RSA\_WITH\_AES\_256\_GCM\_SHA384”
> > 
> > > - “TLS\_DHE\_DSS\_WITH\_AES\_256\_GCM\_SHA384”
> > 
> > > - “TLS\_ECDHE\_RSA\_WITH\_AES\_128\_GCM\_SHA256”
> > 
> > > - “TLS\_RSA\_WITH\_AES\_128\_GCM\_SHA256”
> > 
> > > - “TLS\_ECDH\_ECDSA\_WITH\_AES\_128\_GCM\_SHA256”
> > 
> > > - “TLS\_ECDH\_RSA\_WITH\_AES\_128\_GCM\_SHA256”
> > 
> > > - “TLS\_DHE\_DSS\_WITH\_AES\_128\_GCM\_SHA256”
> > 
> > > - “TLS\_EMPTY\_RENEGOTIATION\_INFO\_SCSVF”
> > 
> > > 
> > 
> > > but was able to connect with ECDHE-RSA-AES128-SHA.
> > 
> > > 
> > 
> > > Is the configuration honored for the http layer? Do I need to run SGAdmin.bat again? I didn’t seem to need to for the transport layer.
> > 
> > > 
> > 
> > > When asking questions, please provide the following information:
> > 
> > > 
> > 
> > > - Search Guard and Elasticsearch version: ES 6.1.1 and SearchGuard 6.1.1-25
> > 
> > > - Installed and used enterprise modules, if any - None
> > 
> > > - JVM version and operating system version - 1.8.144 on windows
> > 
> > > - Search Guard configuration files
> > 
> > > searchguard.ssl.http.enabled\_protocols:
> > 
> > > - “TLSv1.2”
> > 
> > > 
> > 
> > > - Elasticsearch log messages on debug level
> > 
> > > - Other installed Elasticsearch or Kibana plugins, if any - None
> > 
> > > 
> > 
> > > –
> > 
> > > 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](mailto:search-guard+unsubscribe@googlegroups.com).
> > 
> > > To post to this group, send email to [search-guard@googlegroups.com](mailto:search-guard@googlegroups.com).
> > 
> > > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/50de1b6a-c4bf-4c8f-a6e9-e974fef5e0a0%40googlegroups.com](https://groups.google.com/d/msgid/search-guard/50de1b6a-c4bf-4c8f-a6e9-e974fef5e0a0%40googlegroups.com).
> > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > –
> > 
> > You received this message because you are subscribed to a topic in the Google Groups “Search Guard Community Forum” group.
> > 
> > To unsubscribe from this topic, visit [https://groups.google.com/d/topic/search-guard/wlpKa3usVdw/unsubscribe](https://groups.google.com/d/topic/search-guard/wlpKa3usVdw/unsubscribe).
> > 
> > To unsubscribe from this group and all its topics, send an email to [search-guard+unsubscribe@googlegroups.com](mailto:search-guard+unsubscribe@googlegroups.com).
> > 
> > To post to this group, send email to [search-guard@googlegroups.com](mailto:search-guard@googlegroups.com).
> > 
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/69338B6B-35A6-4C32-9239-DA0DB0BD6384%40search-guard.com](https://groups.google.com/d/msgid/search-guard/69338B6B-35A6-4C32-9239-DA0DB0BD6384%40search-guard.com).
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> **Chris Stack** | Software Engineer
> 
> 1001 Research Park Blvd, Suite 420 Charlottesville, VA 22911
> 
> Office: 434-284-5479 | Mobile: 804-683-5046 | [chris.stack@bigbear.io](mailto:chris.stack@bigbear.io) | [www.bigbear.io](http://www.bigbear.io/)
