Skip to content

Instantly share code, notes, and snippets.

@maraca
Created April 8, 2014 23:36
Show Gist options
  • Save maraca/10209118 to your computer and use it in GitHub Desktop.
Save maraca/10209118 to your computer and use it in GitHub Desktop.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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