FileBeat Connection error to elastic search

yep i tried this as well in filebeat.yml
protocol: "https"
username: abc
password: abc

username and password details just dummy ones listed above
but this method also not working