# SSL Handshake error while adding node to elasticsearch

**URL:** <https://discuss.elastic.co/t/ssl-handshake-error-while-adding-node-to-elasticsearch/278283>\
**Category:** Elasticsearch\
**Created:** [July 9, 2021, 1:18pm UTC](https://discuss.elastic.co/t/ssl-handshake-error-while-adding-node-to-elasticsearch/278283 "2021-07-09T13:18:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohan0018](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rohan0018/32/79007_2.png) [@rohan0018](https://discuss.elastic.co/u/rohan0018)\
**Post date:** [July 9, 2021, 1:18pm UTC](https://discuss.elastic.co/t/ssl-handshake-error-while-adding-node-to-elasticsearch/278283/1 "2021-07-09T13:18:26Z")

</div>

Hello

I am trying to add node in elasticsearch cluster, when I restart elasticsearch service on data node it give below error.  
"[2021-07-09T18:14:25,561][WARN][o.e.t.TcpTransport] [NODE2] exception caught on transport layer [Netty4TcpChannel{localAddress=/X.X.X.X:38574, remoteAddress=IT-NODE1/X.X.X.X:9300, profile=default}], closing connection  
io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad\_certificate"

I have added SSL certificates to java keystores and both master node and data node can be accessed over SSL.

Please help.

---

<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 6, 2021, 1:18pm UTC](https://discuss.elastic.co/t/ssl-handshake-error-while-adding-node-to-elasticsearch/278283/2 "2021-08-06T13:18:27Z")

</div>

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