Created
September 7, 2014 21:59
-
-
Save Veraticus/34081e74d2c111162cea 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
[2014-09-07T21:49:47+00:00] WARN: | |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
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