Chef encountered an error attempting to create the client "nod e1-windows"


#1

11.22.33.44 ?[0m
11.22.33.44 ===================================================================
=============?[0m
11.22.33.44 ?[31mChef encountered an error attempting to create the client “nod
e1-windows”?[0m
11.22.33.44 ===================================================================
=============?[0m
11.22.33.44
11.22.33.44 ?[0mPlatform:?[0m
11.22.33.44 ---------?[0m
11.22.33.44 i386-mingw32?[0m
11.22.33.44
11.22.33.44 ?[0m[2017-03-17T09:25:51+00:00] ERROR: Running exception handlers
11.22.33.44 [2017-03-17T09:25:51+00:00] ERROR: Exception handlers complete
11.22.33.44 [2017-03-17T09:25:51+00:00] FATAL: Stacktrace dumped to c:/chef/cac
he/chef-stacktrace.out
11.22.33.44 [2017-03-17T09:25:51+00:00] FATAL: Please provide the contents of t
he stacktrace.out file if you file a bug report
11.22.33.44 [2017-03-17T09:25:51+00:00] FATAL: Chef::Exceptions::InvalidPrivate
Key: The file C:\chef\validation.pem or :raw_key option does not contain a corr
ectly formatted private key.
11.22.33.44 The key file should begin with ‘-----BEGIN RSA PRIVATE KEY-----’ an
d end with '-----END RSA PRIVATE KEY-----'
ERROR: Failed to execute command on 11.22.33.44 return code 1
ERROR: Bootstrap command returned 1

I am using
Work Station
Chef Development Kit Version: 1.2.22
chef-client version: 12.18.31
Node
Chef Development Kit Version: 1.2.22
chef-client version: 12.18.31
Can anyone tell me how to get node side public and private keys? and what are those?
how can i get those keys?

I am getting the both client.rb and validation.pem files but validation.pem as empty. what to do?