# Elastic search-2.3.4 shield SSL closing connection

**URL:** https://discuss.elastic.co/t/elastic-search-2-3-4-shield-ssl-closing-connection/91763
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [July 4, 2017, 11:54am UTC](https://discuss.elastic.co/t/elastic-search-2-3-4-shield-ssl-closing-connection/91763 "2017-07-04T11:54:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ManteshJ](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@ManteshJ](https://discuss.elastic.co/u/ManteshJ)
#### Post date: [July 4, 2017, 11:54am UTC](https://discuss.elastic.co/t/elastic-search-2-3-4-shield-ssl-closing-connection/91763/1 "2017-07-04T11:54:31Z")

</div>

I am trying to connect to elastic search-2.3.4 using shield SSL. I have succeeded in creating the certificate and the keystore as mentioned in the Shield SSL set up guide using OpenSSL and java keytool.

I am able to connect elastic search with basic shield authentication, but once I turn on the SSL settings in the elasticsearch.yml, I am getting the following exception

```
[2017-07-04 16:47:15,502][INFO][gateway] [Namor McKenzie] recovered [2] indices into cluster_state
[2017-07-04 16:47:16,118][INFO][cluster.routing.allocation] [Namor McKenzie] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.knapsack][4], [.knapsack][4]] ...]).
[2017-07-04 16:47:35,043][WARN][shield.transport.netty] [Namor McKenzie] received plaintext http traffic on a https channel, closing connection [id: 0x01956192, /XX.X.153.67:59139 => /XX.X.153.67:9200]
[2017-07-04 16:47:35,043][WARN][shield.transport.netty] [Namor McKenzie] received plaintext http traffic on a https channel, closing connection [id: 0x0ed84e3b, /XX.X.153.67:59138 => /XX.X.153.67:9200]

```

Here are my elasticsearch.yml settings

```
shield.ssl.keystore.path: "D:\\elasticsearch-2.3.4\\elasticsearch-2.3.4\\config\\shield\\node01.jks"
shield.ssl.keystore.password : test1234 
shield.ssl.keystore.key_password : test1234
shield.transport.ssl : true
shield.http.ssl : true
shield.ssl.hostname_verification.resolve_name : false
network.host : XX.X.153.67
http.port : 9200

```

Please help me resolving this issue.

---

<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 1, 2017, 11:54am UTC](https://discuss.elastic.co/t/elastic-search-2-3-4-shield-ssl-closing-connection/91763/2 "2017-08-01T11:54:39Z")

</div>

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