After installing a Cloud-enabled Management (CEM) package on a client machine the agent will not connect via the cloud.
On a client computer with verbose logging enabled the following errors appear in the logs:
Name on certificate does not match the name of the site. (0x80090322)
Server certificate is not valid. Remote host name: EXAMPLE.Test.EPM.com
Certificate for the gateway EXAMPLE.Test.EPM.com is invalid. Thumbprint mismatch.
ITMS 8.x
The name of a server must match the Subject Name in the certificate.
For example if the certificate name is EXAMPLE.EPM.com
but the server name is EXAMPLE.Test.EPM.com
To resolve this issue change the FQDN in the CEM Policy to match the name on the certificate.