When you install Team Foundation Server 2018 (TFS2018), the installer gives you the option to configure TFS to use HTTPS with a self-signed SSL certificate. This is a good thing. When given the choice between installing in HTTP mode with no security or installing in HTTPS mode, the choice is obvious and security wins. But life is never easy, right? This SSL with a self-signed certificate thing is not without a couple headaches.
Chocolatey NuGet is a Machine Package Manager, that is, a package manager for our computer, capable of installing tools in a simple and well-managed way using Windows. To install Chocolatey, open a command console as administrator and enter the following command:
After installing TFS plugin to Eclipse and adding our server info, we tried to connect (https protocol).We got the error:An error occurred: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I don't know if this issue is causing the permissions errors you're seeing, but it could be related. In my local tests, installing a newer version of OpenSSH and using that version's ssh-agent (instead of the version installed by Windows) allowed us to use SSH with both the Git command-line client and Toad's Team Coding. I also had to set the GIT_SSH environment variable to point to the newer SSH client so Git didn't try using the older SSH client from Windows. 2b1af7f3a8