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/10WARNING: 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
- Move the root ca cert to /usr/share/pki/ca-trust-source/anchors/
- Execute update-ca-trust command
- Run the installation script again