Created
April 8, 2014 23:36
-
-
Save maraca/10209118 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
SSL validation of HTTPS requests is disabled. HTTPS connections are still | |
encrypted, but chef is not able to detect forged replies or man in the middle | |
attacks. | |
To fix this issue add an entry like this to your configuration file: | |
``` | |
# Verify all HTTPS connections (recommended) | |
ssl_verify_mode :verify_peer | |
# OR, Verify only connections to chef-server | |
verify_api_cert true | |
``` | |
To check your SSL configuration, or troubleshoot errors, you can use the | |
`knife ssl check` command like so: | |
``` | |
knife ssl check -c /etc/chef/client.rb | |
``` | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment