- From: Stuart Cracraft <
>
- To:
- Cc: Stuart Cracraft <
>
- Subject: [chef] Chef 12: knife ssl check
- Date: Wed, 20 May 2015 22:16:45 -0700
What file is this reading localhost from when it should be chef-server?
I.e. where is the chef_server-url defined?
What configuration file? What path?
:/etc/chef#
knife ssl check
WARNING: No knife configuration file found
Connecting to host localhost:443
ERROR: The SSL cert is signed by a trusted authority but is not valid for the
given hostname
ERROR: You are attempting to connect to: 'localhost'
ERROR: The server's certificate belongs to 'chef-server'
TO FIX THIS ERROR:
The solution for this issue depends on your networking configuration. If you
are able to connect to this server using the hostname chef-server
instead of localhost, then you can resolve this issue by updating
chef_server_url
in your configuration file.
If you are not able to connect to the server using the hostname chef-server
you will have to update the certificate on the server to use the correct
hostname.
:/etc/chef#
Archive powered by MHonArc 2.6.16.