Connect Teamcity to HUB with reverse proxy in between

Completed

Hi Guys,

 

We have teamcity setup and working behind a nginx proxy.

Now we have also setup HUB (also behind the same proxy)

The proxy will redirect 80 to 433 and ssl terminate it. It will proxypass all request to the teamcity running on 8111 and proxypass hub on port 7111.

The certificate is a wildcard that is valid (comodo cert)

What am i missing ?

We have installed the hub plugin into teamcity, but when trying to register our hub server we get the below.

 

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

2
1 comment
Avatar
Permanently deleted user

Nevermind, found the solution, the certificate chain was not present on the reverse proxy for the certificate.

Now that it is, no more error ;-)

0

Please sign in to leave a comment.