How To Trust External Registry With Private Cert In Argocd?

Some company owned registry is signed by their private domain cert .

Issue Description: Even if the "additional_ca_certs" is configured in the cluster_config, while the installation fails due to Argocd is not trusting the cert of the registry. Normally it fails at fabric phase . Complaining the below error :

++ date +%Y-%m-%dT%H:%M:%S%z

+ echo -e '\e[0;31m[ERROR][2023-11-28T16:15:46+0800]:\e[0m 12007 : Failed to create the fabric-installer app'

^[[0;31m[ERROR][2023-11-28T16:15:46+0800]:^[[0m 12007 : Failed to create the fabric-installer app

+ [[ -n '' ]]

+ send_error_telemetry /opt/UiPathAutomationSuite/Fabric_Installer/fabric-installer.sh 'Failed to create the fabric-installer app'

+ local telemetry_content

+ [[ true == \t\r\u\e ]]

+ return

+ exit 1

+ error_without_exit '[ManagementTools] [Failed] Installing and configuring Cluster Management Tools'

++ date +%Y-%m-%dT%H:%M:%S%z

+ echo -e '\e[0;31m[ERROR][2023-11-28T16:15:46+0800]:\e[0m [ManagementTools] [Failed] Installing and configuring Cluster Management Tools'

^[[0;31m[ERROR][2023-11-28T16:15:46+0800]:^[[0m [ManagementTools] [Failed] Installing and configuring Cluster Management Tools

+ trap - SIGTERM

Troubleshooting the Issue:

If the most recent command installation running before the failure is located , "argocd app create fabric-installer --repo ********" , copy it , and try to manually execute that , the cert related error is thrown.

Resolution:

  1. Signin to argocd
  2. Go to Settings ==> Certificates
  3. Add TLS certificate
  4. Copy and paste the rootca of the private cert
  5. Save it .