Connecting to Windows Server from Linux with WinRM over https
Hi Team
We have a scenario, where we need to connect to Windows server from a Linux Server ( Jenkins host is linux )
We want the connection to happen over https with WinRM
For which we have following in place:
- WinRM is configured with http (5985), https (5986) listeners.
- Https listener is configured with SSL with thumbprint of SSL certificate whose CN is domain name, listener configuration successful.
- WinRM Service is running.
Connection from Linux server does not work when in my command I specify to use SSL transport for WinRM, its failing over SSL certificate issue.
Currently, I haven't performed any step to add any pem file for target Windows server SSL certificate on client ( Linux server )
Any suggestions/inputs/pointers on following will help.
- If Linux to Windows connectivity with WinRM over https is possible? The command I am using in that if I ask to disable validation of ssl certs it works over https, but I want to achieve it with SSL certs validation enabled.
- Which certificate or key should be added on to linux host, how to generate it?
Any response is really appreciated.
Thank you!
Regards,
Akshada