This list is for the AWX project. Your question is not really related, itt is purely an Ansible question.
However, the first thing I would check is if you have a certificate problem. Either your certificate is not from a trusted CA, like a self-signed cert., or the name you used to reach the server does not match any of the names in the certificate. If it is an untrusted CA, a self-signed or expired certificate, you could set the variable "ansible_winrm_server_cert_validation: ignore" as a workaround. If that works, you can be sure it is a certificate problem. This may not matter unless you're a stickler about certificates or have compliance policies to live up to.
In Ansible documentation, there is a section that may help: [HTTPS Certificate Validation](https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#https-certificate-validation)