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
Please sign in to leave a comment.
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?
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)?