Content replication task fails with error code "Code: 86 (0x56)"

Version 5

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.xEndpoint Manager 2017.x

    Issue

     

    You have just configured a new preferred server on your core server.

     

    All the credentials you have provided for both the source, the preferred server and the replicator have been successfully tested in the preferred server configuration wizard.

     

    However, when you run a content replication task, the job always fails with the following error code:

     

    Failed to connect to the source  Code: 86 (0x56)

     

    Additionally the replicate.log file shows the following entries:

     

    Sat, 25 Jun 2016 15:51:56 Setting a proxy...

    Sat, 25 Jun 2016 15:51:56 Setting socket timeout to 1000 * 60 * 4

    Sat, 25 Jun 2016 15:51:56 Success

    Sat, 25 Jun 2016 15:51:56 Core failed decrypt request.  See log for more information. Failed

    Sat, 25 Jun 2016 15:51:56 Decrypt failure status code: CertPendingApproval

    Sat, 25 Jun 2016 15:51:56 Last status: Done

    ...

    Sat, 25 Jun 2016 15:51:57 ConnectToShare: '\\DC1\test\' as user 'LEFRANCUZ\administrator'

    Sat, 25 Jun 2016 15:51:58 Failed to connect to share (\\DC1\test).

    Sat, 25 Jun 2016 15:51:58 WNetAddConnection2 Error = (86).

    Sat, 25 Jun 2016 15:51:58 Last status: Failed.  Error: 86 (0x56)

    Sat, 25 Jun 2016 15:51:58 Reporting connection failure to core

    Sat, 25 Jun 2016 15:51:58 Reporting status Failed to connect to share '\\DC1\test\'.  Code: 86 (0x56)

     

    Cause

     

    Despite what the error code suggests, this issue has nothing to do with the source machine.

     

    Actually, this error occurs because the certificate of the computer being used as the replicator has not been approved yet on the core server.

     

    Workaround

     

    In order to fix this issue, you just need to approve the certificate that was issued for the replicator.

     

    Here is how to proceed:

     

    Step 1: open the Ivanti EPM console and connect to the core server

     

    Step 2: select the "Manage Cloud Services Appliances" option in the "Configure" menu.

     

    Step 3: click the "manage certificates" tab and locate the name of the computer being used as the replicator.

     

    Step 4: approve the certificate that was issued for this computer during the install of the Ivanti EPM agent.

     

    Now the replication content task should be successful.