A self-hosted GitLab repo fails with `x509: certificate signed by unknown authority`.
IntermediateTroubleshootingRepos, Clusters, Projects & Permissions
Answer
Likely causes → GitLab uses a certificate from an internal CA that the repo-server does not trust.
Diagnose → openssl s_client -connect gitlab.internal:443 -showcerts to see the chain; argocd cert list --cert-type https.
Fix →
argocd cert add-tls gitlab.internal --from ./internal-ca.pem
This writes to argocd-tls-certs-cm, which is mounted into repo-server. For Helm OCI registries on the same CA, the same entry applies by hostname.
Prevent → Keep the internal CA bundle in the Argo CD install values; never use --insecure-skip-server-verification as a permanent fix.
More on Repos, Clusters, Projects & Permissions
Adding a private GitHub repo over HTTPS fails with `rpc error: code = Unknown desc = authentication required`.BeginnerAn SSH repo fails with `ssh: handshake failed: knownhosts: key is unknown`.BeginnerSSH repo: `ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain`.BeginnerA credential template exists for `https://github.com/org`, yet new repos under the org still fail with `authentication required`.IntermediateSync fails with `application repo https://github.com/org/payments-config.git is not permitted in project 'team-a'`.Beginner`application destination server 'https://kubernetes.default.svc' and namespace 'payments' do not match any of the allowed destinations in project 'team-a'`.Beginner