Reputation: 34099
I am trying to access the Argo CD on my https://127.0.0.1:8080/ and got the following error message:
I forwarded the port as suggested on the https://argoproj.github.io/argo-cd/getting_started/ website:
kubectl port-forward svc/argocd-server -n argocd 8080:443
I also installed the Argo CD certificate, as you can see on the bottom:
When I try to access via Firefox, then it works:
Why with Chromium does not work?
Upvotes: 3
Views: 5765
Reputation: 81
The certificate appears invalid (self signed) in either browser. I believe by default Chrome blocks self signed certificates against localhost "for users protection" https://support.google.com/chrome/thread/3321715?hl=en. Changing the setting chrome://flags/#allow-insecure-localhost
should allow you to access the site on Chrome.
Firefox will show a warning, but does not block users from using an insecure site by default.
Upvotes: 7
Reputation: 54249
By default Argo (and most things) will create a self-signed HTTPS certificate. This makes setup easier, but since it's not signed by a trusted source, you get this error. You can either give Argo a real cert directly, or use something like the Ingress system to terminate TLS (or both). Check out cert-manager for issuing LetsEncrypt certs in Kubernetes.
Upvotes: 1