Elasticsearch error: undefined

Hello,
I am pretty new to grafana and elasticsearch. I am trying to setup my datasource in grafana and getting the following err:
Elasticsearch error: undefined
elasticsearch is functioning and I have uploaded data to it. I read in here that I need to add a certificate to port 9200. I actually not sure what they meant with this!
grafanaErr