SSL Validation failure connecting to host


#1

Hi all,

I am getting these errors while running sudo chef-client -o recipe[sudo]

My hostname is COMPUTE1 [in capital letters]. Does that matter?

Starting Chef Client, version 12.9.41
[2016-05-17T02:14:08-04:00] WARN: Run List override has been provided.
[2016-05-17T02:14:08-04:00] WARN: Original Run List: []
[2016-05-17T02:14:08-04:00] WARN: Overridden Run List: [recipe[sudo]]
resolving cookbooks for run list: [“sudo”]
Synchronizing Cookbooks:
[2016-05-17T02:14:09-04:00] ERROR: SSL Validation failure connecting to host: compute1 - hostname “compute1” does not match the server certificate
[2016-05-17T02:14:09-04:00] ERROR: SSL Error connecting to https//compute1/bookshelf/organization-54f8e37fa6c6cd11a25cc63e244b1399/checksum-e13d88c574672fdd6f58a6fd04cd1b6f?AWSAccessKeyId=548e088de808a684f5e37f97cd23914214c30bf8&Expires=1463494448&Signature=Vy8kEJJ3oGts9v/p0omiLaMFtJQ%3D, retry 1/5
[2016-05-17T02:14:09-04:00] ERROR: SSL Validation failure connecting to host: compute1 - hostname “compute1” does not match the server certificate
[2016-05-17T02:14:09-04:00] ERROR: SSL Error connecting to https//compute1/bookshelf/organization-54f8e37fa6c6cd11a25cc63e244b1399/checksum-ad104e789f71ad37eed05e4122a4540f?AWSAccessKeyId=548e088de808a684f5e37f97cd23914214c30bf8&Expires=1463494448&Signature=NystevyT5V1BfWGqimYa9QGrLoM%3D, retry 1/5

================================================================================
[2016-05-17T02:14:34-04:00] ERROR: SSL Validation failure connecting to host: compute1 - hostname “compute1” does not match the server certificate

Error Syncing Cookbooks:

Unexpected Error:

OpenSSL::SSL::SSLError: SSL Error connecting to https//compute1/bookshelf/organization-54f8e37fa6c6cd11a25cc63e244b1399/checksum-ab558c87e38e94920818bf49ba426c4c?AWSAccessKeyId=548e088de808a684f5e37f97cd23914214c30bf8&Expires=1463494448&Signature=FZ%2B/YKSfet7mDYiXfbwUfdNc7G4%3D - hostname “compute1” does not match the server certificate

Platform:

x86_64-linux