Skip to main content
Certificate errors installing Cinc on older systems

Certificate errors installing Cinc on older systems

November 30, 2026·ramereth

If installing Cinc on an older OS image fails partway through, the cause is probably the host’s CA bundle, not Cinc. Here’s what it looks like and how to fix it.

What you’ll see

The install script gets the package metadata from omnitruck, then fails when it downloads the package from packages.cinc.sh:

Unable to retrieve a valid package!

The script hides curl’s own error, so its output doesn’t mention the certificate. Run curl by hand to see the real cause:

curl -sSI https://packages.cinc.sh/

On an affected system it prints:

curl: (60) SSL certificate problem: unable to get local issuer certificate

If the host also has a python command that runs Python 3, the debug output at the end of the install script’s output adds a misleading line:

ModuleNotFoundError: No module named 'urllib2'

Why it happens

packages.cinc.sh and downloads.cinc.sh use a certificate from SSL.com that chains to the “SSL.com TLS RSA Root CA 2022” root. Mozilla added that root in 2023, and a host whose CA bundle (the ca-certificates package) predates it can’t verify the certificate.

Only packages.cinc.sh and downloads.cinc.sh are affected. omnitruck.cinc.sh, rubygems.cinc.sh and cinc.sh use Let’s Encrypt, which the systems we tested already trust. That’s why the metadata step works and the download doesn’t.

We reproduced it in docker with the Rocky Linux 8.5, Rocky Linux 9.0 and AlmaLinux 9.0 images. Other older images with a stale CA bundle behave the same way.

The fix

Update the CA bundle. On Rocky Linux, AlmaLinux and other EL hosts:

sudo dnf update -y ca-certificates

Use yum instead of dnf on older releases. On Debian and Ubuntu, update the ca-certificates package with your package manager; on SUSE, update ca-certificates-mozilla.

Check it before you rerun the install (the same command as above):

curl -sSI https://packages.cinc.sh/

It should print a 200 response, such as HTTP/1.1 200 OK. The images that failed in our tests returned exactly that after the update. There’s no need to turn off certificate verification: updating the bundle is the fix.

Why the error mentions urllib2

install.sh is generated by mixlib-install. Its last-resort download fallback uses Python, and that code uses the Python 2 urllib2 module. curl’s own error is hidden, so on a host where python is Python 3 the real certificate error never shows and you get the urllib2 traceback instead. We’re tracking this in issue #1 in mixlib-install.

Errors that look similar but aren’t the certificate

  • Platform names are lowercase. omnitruck returns 404 for p=Rocky, while p=rocky and p=el return 200.
  • Package paths use the full x.y.z version. .../cinc/18.5/el/9/cinc-18.5-1.el9.x86_64.rpm returns 404, while .../cinc/18.5.0/el/9/cinc-18.5.0-1.el9.x86_64.rpm works.

If you’re still stuck or have questions, come talk to us in #community-distros on the Chef Community Slack.