When trying to connect the Robot to Orchestrator via the machine key option, the below error is encountered: "RemoteException wrapping System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot"
Most likely, Orchestrator is using a self signed certificate and this certificate must be imported to the Robot machine as well. Usually, the error encountered in the Assistant when connecting the Robot to Orchestrator refers to the Orchestrator certificate (most likely, a self-signed one) not being present in the Robot machine.
Fix this by importing this certificate into the Robot machine by following the steps below,
- Access your Orchestrator URL in a browser window
- Click on the secure/not secure prompt near the URL
- Open the certificate:
- Go to the Details tab and then click on Export > save the certificate in a location of choice
- Open certlm.msc, right click the Personal folder > All tasks > Import > select the previously generated certificate and import it
- In the same window, right click the Trusted Root folder > All tasks > Import > select the previously generated certificate and import it again.
- Now try connecting the Robot again, the error should be no longer present.