Encrypt Communication b/w kibana and elasticsearch

when generating certificates for all the nodes i am using instances.yaml file in which i was using ip addresses and when using certificate in elasticsearch.yml ,kibana.yml or logstash.yml it didn't work..in elasticsearch log file it was saying em2(hostname_of_master_node) does not match in your certificate then i change em2 to ip in kibana.yml ,logstash.yml and metricbeat.yml

Apologies, I don;t understand what you are asking, can you be more explicit? What are you trying to do and what happens instead?

[eh3] received plaintext http traffic on an https channel

i did the telnet hot_node3_ip 9200 from hot_node_2 server

Telnet(the binary) can't handle HTTP over TLS. Elasticsearch sees something connecting to it on its port that doesn't do TLS and throws an error, this is expected. You need to use another client to interact with Elasticsearch on the HTTP layer, I suggest you use curl.