Git VCS ssl fetch url
Hi,
We are an enterprise user using Team City Enterprise 9.1.4 (build 37293) and we are currently using a VCS type of Git with a fetch url of http with authentication method = Password and Username and password are supplied and this all works nicely.
However when we switch the url to https and I 'Test Connection' i get the following message.....
List remote refs failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Can you help direct us in the right direction?
Our IT assure us that the git (TFS) server has both http and https support.
Please sign in to leave a comment.
If you are using a self signed certificate on your server (which would seem like it), then you need to configure TeamCity to be able to connect to it via https. While this instructions are on how to set up agents and clients to connect to teamcity server via HTTPS, the instructions would probably be similar to make TC connect to TFS:
https://confluence.jetbrains.com/display/TCD10/Using+HTTPS+to+access+TeamCity+server