Git SSL Issue with VCS Root on Teamcity docker image Follow
Hi there,
I am running Teamcity 2022.10 using the official docker image and need to configure a VCS root pointing to our in-house git server (gitea). The git server SSL certificate was issued by our IT department based on our company's self-signed root certificate.
When testing the connection, I get this error:
Test connection failed in Gefasoft / Viper Docs
git -c core.askpass=/opt/teamcity/temp/pass8641041750562944045 -c credential.helper= ls-remote origin command failed.
exit code: 128
stderr: fatal: unable to access 'https://<internalurl>.git/': server certificate verification failed. CAfile: none CRLfile: none
I already uploaded both the root cert and the git server cert to Teamcity via Administration->Projects->Root->SSL/HTTPS certificates. Both also show up in <datadir>/config/projects/_Root/pluginData/trustedCertificates.
The configuration of the VCS Root is correct. If I restart the container with SSL verification disabled (GIT_SSL_NO_VERIFY=true), connection to git works.
What am I missing here?
Best regards
Andreas
Please sign in to leave a comment.