Since I'm a big fan of bug fixes instead of fixing the symptom, here's what you can do to make sure that the SSL connection works with validation (with a bit more granularity than coderanger):
1) Get the server certificate and add it to the cacert.pem file of the chef-dk file
openssl s_client -showcerts -connect <YOUR_CHEF_SERVER>:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >> /opt/chefdk/embedded/ssl/certs/cacert.pem
2) set env variables for ssl libs:
export SSL_CERT_FILE=/opt/chefdk/embedded/ssl/certs/cacert.pem
Try downloading again and it should work.
source share