I am trying to configure winrm https listener on a windows machine. Earlier i had followed WinRm https listener configuration
The above solution worked for me.
But now i have deleted the listener and want to configure the winrm again using
winrm quickconfig -transport:https but i am unable to do it as its throwing error
WSManFault
Message = Cannot create a WinRM listener on HTTPS because this machine does not have an appropriate certificate. To be used for SSL, a certificate must have a CN matching the hostname, be appropriate for Server Authentication, and not be expired, revoked, or self- signed.
Even deletion of the https listener i am unable to do quick config .i feel there is a need to remove the thumbprint from some place but not sure from where all.
I have gone through one of the links where Jared stated that we need to manually delete the thumbprint: Automatically reconfigure WinRM HTTPS listener