Checkmarx plugin in TeamCity - HTTPS
I use FileFox browser to reach TeamCity Admin console to configure connection to Checkmarx server. It uses https and gives me the following error.
I have included the certificate but want to know if this error needs to be resolved on the TeamCity server or my desktop. Which Java is it looking for a cert file (local or remote machine).
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.
Hi Sidney,
to know where the error happens, we would need to know where the error is being displayed, how are you connecting, etc. In case the issue is on TeamCity, you can use the steps described here: https://confluence.jetbrains.com/display/TCD18/Using+HTTPS+to+access+TeamCity+server . As described in the article, the steps are valid for both the server connecting to remote services as well as for clients attempting to connect to the server.
Yes. This case can be closed since the problem has been resolved. I added the cert file to the instance of Java used by the TeamCity server and build agent. Before I only updated the certificate on my desktop which was using the client.
Thanks,