Gitlab Commit Status Publisher SSL error

Answered

I have standard Teamcity server and agent in Docker from official repo, I have configured Publish Status to gitlab which is on https and I every time got error (int teamcity-server.log): 

Publish status error in build #18c56c4f8f34eef77c40513df4d2aecbba256fee {build id=2533, buildTypeId=...}: 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

Google helps me nothing. Every topic is about connecting TO teamcity server, not FROM it.

The cert on my gitlab site is working and trusted (from Avast)

 

BTW, the request to gitlab comes from Server or Agent?

0
1 comment
Avatar
Permanently deleted user

Hello,

 

Please try adding your certificate into TeamCity. Please refer to TeamCity documentation about Configuring JVM in Using HTTPS to access TeamCity server.

0

Please sign in to leave a comment.