Connector Setup Failed When Testing Connection Under XMS PKI Entity

Connector Setup Failed When Testing Connection Under XMS PKI Entity

book

Article ID: CTX338492

calendar_today

Updated On:

Description

Connector failed when testing connection under XMS PKI entity. 

Connection.png

 

Resolution

  • To test the connectivity, access https://CAServerName/certsrv  link in the browser on the Cloud Connector server.
  • Install the same user certificate, which was created using user template under CA for XenMobile (Certificate Based Authentication).

Additional Details:
XenMobile Debug Logs :
2017-02-06T15:30:57.847+0000 | 200B97A4C77E1C34  | ERROR | http-nio-14443-exec-61 | com.sparus.nps.pki.connector.MsCertSrvConnector | TestConnection to pki url [ certnew.cer] failed with response Headers: {null=[HTTP/1.1 401 Unauthorized],

2017-02-06T15:30:57.847+0000 | 200B97A4C77E1C34  | ERROR | http-nio-14443-exec-61 | com.sparus.nps.pki.connector.MsCertSrvConnector | TestConnection to pki url [ certnew.cer] failed with response Headers: {null=[HTTP/1.1 401 Unauthorized], Server=[Microsoft-IIS/8.5, Microsoft-IIS/8.5], X-Cws-TransactionId=[dc1223fd-b80d-4ea1-84f7-227086cdd74e], Pragma=[no-cache], Date=[Mon, 06 Feb 2017 15:30:56 GMT], Arr-Disable-Session-Affinity=[True, True], Access-Control-Expose-Headers=[X-Cws-TransactionId], Cache-Control=[no-cache], X-AspNet-Version=[4.0.30319], Expires=[-1], Content-Length=[599], X-Powered-By=[ASP.NET, ASP.NET], Content-Type=[text/plain; charset=utf-8]}and Response Error: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

Problem Cause

A connectivity issue between Cloud connector to CA server.