TeamCity to GitHub Https Certificate Error

Hi, all,

I'm tring to use GitHub as a vcs for a teamcity build. When I try to use https to hit github, I get the following error, using https://github.com/TheRepository.  Any ideas as to how to get it to recognize the cert?

Test connection failed in My Project :: My Build. Connection test 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


2 comments
Comment actions Permalink

OK, I believe I managed to get past this one...after importing the cert into the cacerts store under the TeamCity folder.  Now my next error, when I run a build: git-upload-pack not permitted.

Retrieving current version failed:  org.eclipse.jgit.errors.TransportException:  https://github.com/MyStuff: git-upload-pack not permitted
 
Any ideas?

0
Comment actions Permalink

Hi,


Probably, public SSH key wasn't uploaded to the GitHub, was it?
Also, is there a reason for not using Git read-only protocol (git://github.com/<user>/<project>.git)?

0

Please sign in to leave a comment.