The WinRM client cannot process the request. If you are using a machine certificate, it must contain a DNS name in the Subject ...

The WinRM client cannot process the request. If you are using a machine certificate, it must contain a DNS name in the Subject Alternative Name extension or in the Subject Name field, and no UPN name.
If you are using a user certificate, the Subject Alternative Name extension must contain a UPN name and must not contain a DNS name.
Change the certificate structure and try the request again.