I am a bit confused on how to configure certificate for my local host. My scenario is like:
We've two windows 2012 servers (not joined in a domain) and I need to execute a powershell script remotely from one machine. This has to be done using the IP of the other machine. I've tried a bit and could finally know that the protocol should be HTTPS when using IP and it requires a server certificate.
Reading so many blogs and posts made me confused me and using powershell in both the servers I have installed self signed cert created using powershell. The certs are named as computername.workgroup and is located in Personal in local computer certificate store.
But when I try winrm qc -transport:https Cannot create a WinRM listener on HTTPS because this machine does not have an appropriate certificate.
Can someone please help me at the earliest? How I can solve this error, by creating the required cert.? Any help would be really really appreciated.