TLS setup failing - ES 6.1.2

When asking questions, please provide the following information:

  • Search Guard and Elasticsearch version

  • Installed and used enterprise modules, if any

  • JVM version and operating system version

  • Search Guard configuration files

  • Elasticsearch log messages on debug level

  • Other installed Elasticsearch or Kibana plugins, if any

Hi Team,

We are using Search Guard(6.1.2-20.1) with Elasticsearch (6.1.2) and Java 8 on Linux machines.

The 3 Sms having ES setup starts up fine.

But when they are configured to be part of 3 node cluster with TLS,they fail to talk to each other.

Error on master node

[ERROR][c.f.s.s.t.SearchGuardSSLNettyTransport] SSL Problem Received fatal alert: internal_error

javax.net.ssl.SSLException: Received fatal alert: internal_error

Error on slave mode

[2018-03-08T09:27:07,772][WARN ][c.f.s.s.t.SearchGuardSSLNettyTransport] send message failed [channel: org.elasticsearch.transport.netty4.NettyTcpChannel@7d7d8965]

javax.net.ssl.SSLException: SSLEngine closed already

at io.netty.handler.ssl.SslHandler.wrap(...)(Unknown Source) ~[?:?]

[2018-03-08T09:27:07,775][WARN ][c.f.s.s.t.SearchGuardSSLNettyTransport] exception caught on transport layer [org.elasticsearch.transport.netty4.NettyTcpChannel@7d7d8965], closing connection

io.netty.handler.codec.DecoderException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Please share your valuable inputs to fix the error.