Hi,
Winrm http calls are blocked in my organization. when i am trying to run below command i am getting error mentioned below
Command : knife winrm -m MACHINE_HOSTNAME ‘dir c:’ -x domain\user -P secret -p 5986 -t ssl
ERROR : Original Exception: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
This doesn’t look like a “blocking” scenario but rather a basic certificate validation problem. The later would either be due to the fact that the certificate is self signed and truly not valid or an issue with your ruby trusted certs. Problems with ruby and SSL certs are common on a windows workstation but the chefdk does stuff to fix that. If you are using a self-signed cert and just want to ignore validation, add --winrm-ssl-verify-mode verify_none
to your command.