Winrm over SSL


#1

Hi All,

I’m trying to use winrm over SSL and have generated a self-signed certificate on the client windows machine using makecert and then used

winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Port=“5986” ;Hostname=“blah” ;CertificateThumbprint=“x x x x x x x”

But when I bootstrap using the -t ssl switch I get this:

ERROR: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

Do you know why?

Should I be putting a file on the chef workstation somewhere to verify the cert?

Cheers,
Simon.


Disclaimer

This message is intended only for the use of the person(s) (“Intended Recipient”) to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.

Totaljobs Group Limited Registered Office: Holden House, 57 Rathbone Place, London, W1T 1JU, UK Registered in England and Wales under company no. 4269861