Rest call fails with error " java.security.cert.CertificateException: No subject alternative names present" when using MID server.Issue Rest call fails may fail with the error " java.security.cert.CertificateException: No subject alternative names present" when using MID server. Error in the agent logs: SEVERE *** ERROR *** Operation XXXX failed with error: com.snc.process_flow.exception.OpException: Request not sent to uri= XXXX: org.apache.commons.httpclient.HttpException: java.security.cert.CertificateException: No subject alternative names presenReleaseAny CauseThe issue is the certificate on the endpoint is not trusted by MID Server.ResolutionYou can import the certificate by referring the following documentation below:https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/edge-encryption/task/t_SetUpSecureSSLConnection.htmlOR On instance level: Navigate to MID Server > MID Security Policy.create a new policy with the name {BASE URL Of the endpoint/ IP address of the endpoint}.Type is Overriden Host.Set the certificate check, hostname check, and revocation check to false.Make sure the Active field is true.