SSL cert error in TeamCity

My ssl cert in git is fine with no problems.  I have run git config --global http.sslVerify "false"

However, after updating TeamCity to the latest build, attempting to connect to git I get the following error:

"Test connection failed in Portal / Build and Deploy

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"

1 comment

Hi,

 

this message doesn't mean that git can't establish an SSL connection, it means that java can't. This usually indicates that you haven't added the proper certificate to TeamCity's keystore. More information here: https://confluence.jetbrains.com/display/TCD18/Using+HTTPS+to+access+TeamCity+server

0

Please sign in to leave a comment.