We are trying to get TeamCity to connect to a local git repository with a self-signed certificate, and we are getting the following error:
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
We have scoured Google looking for a solution. We have tried OS global environemtn variable TEAMCITY_SERVER_OPTS=-Dcom.sun.net.ssl.checkRevocation=false, \bin\setenv.bat with the same, and beyond.
Any ideas how we can get TeamCity flowing with a self-signed certificate? Any help with this would be much appreciated.