ansible/ansible — pull request #8847 by jhawkesworth (2014-09-01 20:54:44+00:00)
Title: window facts. Select certificate to check for expiry from winrm configuration

Trond Hindenes pointed out that simply picking the first certificate from local computer certs is not guaranteed to select the correct certificate, so this change identifies the thumbprint of the certificate used in WinRM's https listener and returns the expiry date of that specific certificate.