Configuring HTTPS to a Web Service kubernetes dashboard

2/14/2019

I just installed the kubernetes dashboard. I would like to access it in HTTPS and not in HTTP. Unfortunately when I enter the URL https://10.109.0.xx:6443 I have an error telling me that the connection is not secure. And I would just like to avoid this kind of mistake. Do you have any idea how I can fix this problem?

enter image description here

-- morla
google-kubernetes-engine
kubernetes
kubernetes-ingress

1 Answer

2/14/2019

so when i want to run helm ls --tls i get the error certificate signed by unknown authority as you can see below

I have succeeded to signa URL https://xxx.cloud.net/ to go directly to the kubernetes dashboard .

# helm ls --tls 
Error: Get https://10.109.0.xx:6443/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes") 
-- morla
Source: StackOverflow