Fresh ArgoCD installation complain about certificate #19716
-
I have deployed argocd in one kubernetes cluster. Now I'm trying to connect argocd to my keycloak and gitlab instances, but they are in different domains, e.g.:
All certificates are not self signed. When I try to login with keycloak this error occurs: Failed to query provider "https://keycloak.test.org/realms/realm": Get "https://keycloak.test.org/realms/realm/.well-known/openid-configuration": tls: failed to verify certificate: x509: certificate is valid for *.example.org not *.test.org as argo trying to validate keycloak/gitlab instance with its certificate. I have a nginx as reverse proxy in front of argocd doing the balancing and tls stuffs, so I configure argo without tls, running in the http port. This is all script that I'd use to deploy argo:
The ingress of it:
What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, I resolved that. It's not specific problem with argo, but with certificates itself. |
Beta Was this translation helpful? Give feedback.
Well, I resolved that. It's not specific problem with argo, but with certificates itself.
I add the gitlab.test.org to the example.org nginx and in argo I used gitlab.example.org, that way the certificates are the same but nginx redirect to the existent instance.
Well the question is: but what happens when we use github or another domain with on-premisse infra with our certificate? Why that way works? Well, I don't know hahahaha.