I am using winston-elasticsearch to to push logs into an elastic search cluster.
I have generated self signed certs for my node application and here is the code for i