Note

WARNING WARNING WARNING: This is the Digital Rebar v2 product documentation. The v2 version is EOL as of September 2017. Please refer to the new Digital Rebar Provision v3 documentation: http://provision.readthedocs.io/en/tip/README.html

9.9. The Certificate is Out of Date.

If some systems are reporting out of date certificates, the system cannot download files or use SSH to connect.

9.9.1. Typical Output

curl -fgLO https://opscode-omnibus-packages.s3.amazonaws.com/el/6/i686/chef-11.18.12-1.el6.i686.rpm
curl: (60) Peer's Certificate has expired.
More details here: http://curl.haxx.se/docs/sslcerts.html

9.9.2. Likely Cause

If the system clock is out of date (or has bad batteries), it resets to a date that does not match certificate validation ranges.

Update the system clock. The batteries may need to be replaced in the system to solve the issue.