How To Kibana Without HTTPS/SSL

Hey guys is there a way to have Kibana setup without the need of https, i already disabled it in ES and that is working fine, but for some reason now whenever i try to start kibana it keeps restarting then fails.
This is my kibana.yml file:

server.host: "172.31.18.139"

elasticsearch.hosts: http://172.31.18.139:9200
elasticsearch.ssl.verificationMode: none
#elasticsearch.username: admin
#elasticsearch.password: admin
#elasticsearch.requestHeadersWhitelist: ["securitytenant","Authorization"]

opendistro_security.disabled: true

am i doing anything wrong here? if so what is it if not how can i make this work?
Any help or guidance is greatly appreciated!

Hi, it should be enough to:

  • on ES side add opendistro_security.disabled: true into config
  • on Kibana side add elasticsearch.ssl.verificationMode: none into config and run /usr/share/kibana/bin/kibana-plugin remove opendistro_security (so I assume it’s only the last command you need to run).

At least that’s how it works in my setup.