I'm trying to create an auto bootstrap script that will install the chef client msi, dynaically create the client.rb file and add the necessary paths. When I run chef-client at the end of my script I get the following error.
INFO: Client key C:\chef\client.pem is not present - registering
FATAL: OpenSSL::X509::CertificateError: nested asn1 error
The bootstrap works when I do it via WinRM.