Why does Chef throw SSL error when using knife Command on Chef-Workstation? -


ssl error occurs when use knife command verify successful setup of chef-workstation or when try upload chef-cookbook. using following commands :

knife client list knife node list knife cookbook upload cookbookname 

we following error on chef-workstation:

openssl::ssl::sslerror: ssl_connect returned=1 errno=0 state=sslv2/v3 read server hello a: unknown protocol 

to resolve error tried using rackfile software create following 3 files:

hostname.key hostname.pem hostname.crt 

on chef-server.

we placed hostname.pem inside chef folder on server , inside certs folder on workstation. tried run commands once again did not succeed. resolve ssl error sincerely appreciated.

you need register certificate on each workstation. also, make sure certificate matches correct url (i.e. api endpoint, not web interface)


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -