[chef] Re: Re: winrm


Chronological Thread 
  • From: Taras Klym < >
  • To:
  • Cc: " " < >
  • Subject: [chef] Re: Re: winrm
  • Date: Thu, 06 Aug 2015 23:24:44 +0300

Totally agree with Julian. :)

Either "knife ssl fetch" and re-run chef-client from bootsrtapped node.
Or edit/add client.rb and re-run chef-client as well:
ssl_verify_mode :verify_none

Regards,
Taras.

--- Оригінальне повідомлення ---
Від кого: "Julian C. Dunn" < >
Дата: 6 серпня 2015, 23:19:12

That doesn't look like anything to do with WinRM, but that the Chef
client doesn't trust the SSL certificate being presented by your Chef
Server "chef01.theorchard.local".

- Julian

On Thu, Aug 6, 2015 at 1:02 PM, Nikhil Shah <
 
 " target="_blank">
 > wrote:
> Hey guys,
>
> It's been a while since i started bootstrapping windows machines since I've
> been doing linux for so long, I've enabled winrm and setup the proper
> configs for winrm. However, I am getting the following error and was hoping
> someone can lead me to the right place:
>
>
>> eset-era01.theorchard.local C:\Users\Administrator>chef-client -c
>> c:/chef/client.rb -j c:/chef/first-boot.json -E DEVELOPMENT
>> eset-era01.theorchard.local [2015-08-06T12:44:45-04:00] INFO: *** Chef
>> 12.4.1 ***
>> eset-era01.theorchard.local [2015-08-06T12:44:45-04:00] INFO: Chef-client
>> pid: 4104
>> eset-era01.theorchard.local [2015-08-06T12:45:18-04:00] INFO: Client key
>> c:/chef/client.pem is not present - registering
>> eset-era01.theorchard.local [2015-08-06T12:45:19-04:00] ERROR: SSL
>> Validation failure connecting to host: chef01.theorchard.local - SSL_connect
>> returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify
>> failed
>> eset-era01.theorchard.local
>> eset-era01.theorchard.local
>> ================================================================================
>> eset-era01.theorchard.local Chef encountered an error attempting to create
>> the client "eset-era01.TheOrchard.local"
>> eset-era01.theorchard.local
>> ================================================================================
>> eset-era01.theorchard.local
>> eset-era01.theorchard.local [2015-08-06T12:45:19-04:00] ERROR: Running
>> exception handlers
>> eset-era01.theorchard.local [2015-08-06T12:45:19-04:00] ERROR: Exception
>> handlers complete
>> eset-era01.theorchard.local [2015-08-06T12:45:19-04:00] FATAL: Stacktrace
>> dumped to c:/chef/cache/chef-stacktrace.out
>> eset-era01.theorchard.local [2015-08-06T12:45:19-04:00] FATAL:
>> OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read
>> server certificate B: certificate verify failed
>
>
> --
> Nikhil Shah • System Administrator
> 
 
 " target="_blank">
  • p. (+1) 212 308-5648
>
> THE ORCHARD Distribution Done Right
> 23 E 4th St Fl 3, New York, NY 10003
> www.theorchard.com
>
> Follow us: The Daily Rind • Facebook • Twitter • YouTube • LinkedIn
>
> Privileged And Confidential Communication. This electronic transmission, and
> any documents attached hereto, (a) are protected by the Electronic
> Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain
> confidential and/or legally privileged information, and (c) are for the sole
> use of the intended recipient named above. If you have received this
> electronic message in error, please notify the sender and delete the
> electronic message. Any disclosure, copying, distribution, or use of the
> contents of the information received in error is strictly prohibited.



-- 
[ Julian C. Dunn <
 
 " target="_blank">
 >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§