From: Tom Hughes Date: Sun, 13 Apr 2014 21:40:55 +0000 (+0100) Subject: Enable SSL certification verification in chef X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/239e985785bf89571d6c0e6a39473861cd065d2a Enable SSL certification verification in chef --- diff --git a/cookbooks/chef/templates/default/client.rb.erb b/cookbooks/chef/templates/default/client.rb.erb index e4bba9250..6c9113968 100644 --- a/cookbooks/chef/templates/default/client.rb.erb +++ b/cookbooks/chef/templates/default/client.rb.erb @@ -21,9 +21,9 @@ log_level :info log_location "/var/log/chef/client.log" -# Don't verify SSL certificates +# Verify SSL certificates -ssl_verify_mode :verify_none +ssl_verify_mode :verify_peer # Set the URL for the chef server