TFS Build Agent failing to connect to HTTPS git in TFS 2017 when running as service

后端 未结 6 2357
礼貌的吻别
礼貌的吻别 2021-02-15 03:51

We are using an internal certificate on our server and I\'ve followed the steps in

https://blogs.msdn.microsoft.com/tfssetup/2016/12/19/error-ssl-certificate-problem-una

6条回答
  •  一个人的身影
    2021-02-15 04:36

    So I found a better command than disabling https verification globally, hopefully though this will be better handled in future updates to the build agent.

    git config --global http."https://YOURTFS.SERVER.HERE:PORT/".sslVerify false

    That will only disable it from verifying on your (hopefully internal) git server.

提交回复
热议问题