knife ssl_fetch
knife ssl_fetch
Use the knife ssl fetch
subcommand to copy SSL certificates from an HTTPS server to the trusted_certs_dir
directory that is used by knife and the chef-client to store trusted SSL certificates. When these certificates match the hostname of the remote server, running knife ssl fetch
is the only step required to verify a remote server that is accessed by either knife or the chef-client.
Warning
It is the user’s responsibility to verify the authenticity of every SSL certificate before downloading it to the /.chef/trusted_certs
directory. knife will use any certificate in that directory as if it is a 100% trusted and authentic SSL certificate. knife will not be able to determine if any certificate in thi