title: dashboard not working with https - K8s Version- v1.19.6
body: <p>I have deployed <a href="https://github.com/kubernetes/dashboard#kubernetes-dashboard" rel="nofollow noreferrer">Kubernetes Dashboard</a> with a command:</p>
  <pre><code>$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.2.0/aio/deploy/recommended.yaml
  </code></pre>
  <p>and I've edited the Service as a Nodeport and configured Ingress object accordingly. I could able to login to dashboard with http but getting issue while login the same URL with https:</p>
  <pre><code>&quot;TLS handshake error from 10.244.0.0:44950: remote error: tls: unknown certificate&quot; .
  </code></pre>
  <p>When i configured ingress rule with ssl it is giving error:</p>
  <pre><code>&quot;Client sent an HTTP request to an HTTPS server.&quot;
  </code></pre>
  <p>I have jenkins application running on same cluster with real certificate and i could able to login the jenkins url with https .</p>
  <p>Cluster Information:<br />
  k8s cluster running on (Linux Server release 7.9)<br />
  kubernetes version (v1.19.6)<br />
  Request you to confirm if any suggestion to fix this issue</p>
  <pre><code>---
  apiVersion: extensions/v1beta1
  kind: Ingress
  metadata:
    name: kube-system-ingress
    namespace: kubernetes-dashboard
    annotations:
      kubernetes.io/ingress.class: &quot;haproxy&quot;
      ingress.kubernetes.io/ssl-passthrough: &quot;false&quot;
  spec:
    tls:
    - hosts:
      - console.qa.test.com
      secretName: qa-pss-dashboard
    rules:
    - host: console.qa.test.com
      http:
        paths:
        - path: /
          backend:
            serviceName: kubernetes-dashboard
            servicePort: 8443
  </code></pre>