I was trying to install Chef client on a fresh Ubuntu 14.04 OpenVZ minimal template, but it failed with the error message below. I’ve seen this a few times before, but figured I’d document it here (I wasn’t sure which github repo the installer script ties to). The workaround is to just install curl. If the script has ‘–no-check-certificate’ added to the wget command, that’d work as well, although security-minded folks might not like that.
Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
I was trying to install Chef client on a fresh Ubuntu 14.04 OpenVZ minimal
template, but it failed with the error message below. I've seen this a few
times before, but figured I'd document it here (I wasn't sure which github
repo the installer script ties to). The workaround is to just install
curl. If the script has '--no-check-certificate' added to the wget
command, that'd work as well, although security-minded folks might not like
that.
Please include as many details about the problem as possible i.e., how to
reproduce
the problem (if possible), type of the Operating System and its version,
etc.,
and any other relevant details that might help us with troubleshooting.
I was trying to install Chef client on a fresh Ubuntu 14.04 OpenVZ minimal template, but it failed with the error message below. I've seen this a few times before, but figured I'd document it here (I wasn't sure which github repo the installer script ties to). The workaround is to just install curl. If the script has '--no-check-certificate' added to the wget command, that'd work as well, although security-minded folks might not like that.
Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
Your wget (or more likely your OpenSSL in general) doesn't have the DigiCert public CA cert, and none of the other transports (curl, etc) are available. You need something on the base system capable of secure HTTPS download. You should also fix the URL to be www.chef.io, the new hostname.
Thanks, guys. When I installed curl, I noticed that it installed a CA
bundle along with it, so wget may indeed have worked thereafter. I figured
I'd raise this just to have it documented. My bootstrapping process takes
one additional manual step (i.e. installing curl) with these minimal
templates, but no biggie.
Thanks for pointing out the hostname change; the installer script on opscode.com still refers to opscode.com during the install (with
chef-client 12.0.3). I've updated my process to use the new domain.
I was trying to install Chef client on a fresh Ubuntu 14.04 OpenVZ
minimal template, but it failed with the error message below. I've seen
this a few times before, but figured I'd document it here (I wasn't sure
which github repo the installer script ties to). The workaround is to just
install curl. If the script has '--no-check-certificate' added to the wget
command, that'd work as well, although security-minded folks might not like
that.
Please include as many details about the problem as possible i.e., how
to reproduce
the problem (if possible), type of the Operating System and its version,
etc.,
and any other relevant details that might help us with troubleshooting.
Your wget (or more likely your OpenSSL in general) doesn't have the
DigiCert public CA cert, and none of the other transports (curl, etc) are
available. You need something on the base system capable of secure HTTPS
download. You should also fix the URL to be www.chef.io, the new hostname.