Closed anshulmgupta closed 2 years ago
Have you enabled a HTTPS listener for WinRM on the server, Have you allowed traffic in for port 5986? Best bet for testing out TLS connection is to run the following command:
echo "Y" | openssl s_client -connect hostname:5986
If this is able to connect you should be able to use this library to connect to the same endpoint. If this fails then you need to figure out what isn't enabled on your Windows host to allow HTTPS traffic.
Thanks @jborean93
Hi @jborean93 I am able to connect to the Windows server with ssl=False, encryption="never" and using basic auth, however when I changed ssl=True I am unable to connect using WSMan.
The above works with ssl=False and encryption="never" Any guidance on how could I solve this issue? Thanks!