I've installed TFS 2018. Now I am trying to install a remote agent (from another machine). I am getting this error:
I've checked this and I have found this documentation: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/certificate?view=azure-devops-2019
I think this issue is related to the fact that the machine is not trusting the certificated TFS Generated during the installation. I also checked the log file:
[2019-02-18 13:48:33Z ERR VisualStudioServices] GET request to https://jbpatfssr005/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
(...)
[2019-02-18 13:48:33Z ERR AgentServer] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A security error occurred
In my browser when I try to access TFS I get a message sayng that the site is insecure.
So I guess this is really because of the certificate. But how can I solve this?