Helm login fails due to certificate signed by unknown authority

Helm login fails due to certificate signed by unknown authority

Issue description:

When running the installation script, log in to helm fails with the following message:

[INFO] [2022-02-16T17:07:14-0500]: Helm login to registry at registry.automationsuite.mydomain.com:443...try 1/10

WARNING: Using --password via the CLI is insecure. Use --password-stdin.

INFO[0000] Error logging in to v2 endpoint, trying next endpoint: Get “https://registry.automationsuite.mydomain.com:443/v2/”: x509: certificate signed by unknown authority

Error: Get “https://registry.automationsuite.mydomain.com:443/v2/”: x509: certificate signed by unknown authority

[INFO] [2022-02-16T17:07:44-0500]: Helm login to registry at registry.automationsuite.mydomain.com:443…try 2/10


Resolution:

Follow steps described in this Red Hat documentation

  1. Move the root ca cert to /usr/share/pki/ca-trust-source/anchors/
  2. Execute update-ca-trust command
  3. Run the installation script again