I am attempting to install Automate on a brand-new Centos7 VM. I'm following the steps at https://automate.chef.io/docs/install/. I've downloaded and gunzipped, run ./chef-automate init-config
, and then get failures when trying to run the install, both with and without the included chef infra server.
ca version
Version: 2
CLI Build: 20200813174915
I'm getting these errors in the preflight checks:
FAIL| https://licensing.chef.io/status is not reachable
FAIL| https://bldr.habitat.sh is not reachable
FAIL| https://raw.githubusercontent.com is not reachable
OK | https://packages.chef.io is reachable
FAIL| https://github.com is not reachable
OK | https://downloads.chef.io is reachable
i can ping them just fine:
ping raw.githubusercontent.com
PING github.map.fastly.net (151.101.64.133) 56(84) bytes of data.
64 bytes from 151.101.64.133 (151.101.64.133): icmp_seq=1 ttl=57 time=2.09 ms
there seems to be a cert error:
DEBU[0000] failed to HEAD https://licensing.chef.io/status error="Head \"https://licensing.chef.io/status\": x509: certificate signed by unknown authority"
DEBU[0000] Connectivity check failed error="Head \"https://licensing.chef.io/status\": x509: certificate signed by unknown authority" url="https://licensing.chef.io/status"
DEBU[0000] failed to HEAD https://bldr.habitat.sh error="Head \"https://bldr.habitat.sh\": x509: certificate signed by unknown authority"
DEBU[0000] Connectivity check failed error="Head \"https://bldr.habitat.sh\": x509: certificate signed by unknown authority" url="https://bldr.habitat.sh"
DEBU[0000] failed to HEAD https://raw.githubusercontent.com error="Head \"https://raw.githubusercontent.com\": x509: certificate signed by unknown authority"
DEBU[0000] Connectivity check failed error="Head \"https://raw.githubusercontent.com\": x509: certificate signed by unknown authority" url="https://raw.githubusercontent.com"
DEBU[0001] failed to HEAD https://github.com error="Head \"https://github.com\": x509: certificate signed by unknown authority"
DEBU[0001] Connectivity check failed error="Head \"https://github.com\": x509: certificate signed by unknown authority" url="https://github.com"
DeployError: Unable to install, configure and start the service: Get "https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh": x509: certificate signed by unknown authority
FileAccessError: Unable to access the file or directory: Connecting to deployment-service failed: Failed to read deployment-service TLS certificates: Could not read the service cert: open /hab/svc/deployment-service/data/deployment-service.crt: no such file or directory
curl "https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh"
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
i can never tell if these kinds of errors are on the client or server side.
Do i need to change my config, or get my identity/server team to generate a new CA cert, or what else?