How to add self signed certificate in kubernetes elastic search deployment using Filebeat

I am using https://www.elastic.co/blog/shipping-kubernetes-logs-to-elasticsearch-with-filebeat to ship kube logs to elastic search. I have self-signed elastic search host. How can I give certificate information to filebeat in kubernetes?