chef-boneyard / knife-container

DEPRECATED: Container support for Chef's Knife Command
Apache License 2.0
57 stars 11 forks source link

SSL Validation failure connecting to host, certificate verify failed #40

Closed chrisduong closed 9 years ago

chrisduong commented 9 years ago

Hi,

My knife config is: node_name 'admin' client_key 'admin.pem' validation_client_name 'cduong' validation_key '.chef/cduong.pem' chef_server_url 'https://server-chef'

The cduong.pem has admin right. However, during docker build, I recieved 'certificate verify failed'. My knife is working with other admin tasks. Please enlighten me. Thanks

014-09-25T11:08:37+00:00] INFO: Chef-client pid: 15 [2014-09-25T11:08:38+00:00] INFO: Client key /etc/chef/secure/client.pem is not present - registering [2014-09-25T11:08:39+00:00] ERROR: SSL Validation failure connecting to host: vpc-proxy-01.lzd.co - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

Chef encountered an error attempting to create the client "chrisduong-monster_web-build"

[2014-09-25T11:08:39+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2014-09-25T11:08:39+00:00] ERROR: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed [2014-09-25T11:08:39+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2014-09-25T11:08:39+00:00] INFO: Deleting client key...

chrisduong commented 9 years ago

sorry, duplicated with self-signed cert