PGBI / kong-dashboard

Dashboard for managing Kong gateway
MIT License
2.17k stars 390 forks source link

Ignore certificate errors (self-signed certificates) #168

Open StianOvrevage opened 6 years ago

StianOvrevage commented 6 years ago

There are issues when deploying Kong to a Kubernetes cluster which only exposes the Kong API over HTTPS. With a self-signed certificate.

kong-dashboard gives an error when pointed to a Kong API using a self-signed certificate.

I cannot find any information on making kong-dashboard ignore the certificate error and continue.

phillipsj commented 6 years ago

I am running into the same issue

fkpwolf commented 6 years ago

Same Issue. I have to turn off HTTPS. If you use Helm to install Kong, use helm install stable/kong --namespace kong --set admin.useTLS=false --set proxy.useTLS=false.

austince commented 5 years ago

I think newer versions of the Chart use proxy.tls.enabled=false instead: https://hub.kubeapps.com/charts/stable/kong

F0otsh0T commented 5 years ago

Is there a way just to have the Dashboard accept or add exception for the Self-Signed Cert?

With Konga, you can set NODE_TLS_REJECT_UNAUTHORIZED to "0"

      env:
      - name: NODE_TLS_REJECT_UNAUTHORIZED
        value: "0"