Handshaking with Octopus server fails from a TeamCity agent

Hello,

We’ve been successfully using TeamCity and Octopus on a single machine, and now we have added a new build agent due to growing number of simultaneous builds. I have set up a new Octopus Tentacle and verified that Tentacle is reachable from the Octopus server in Listener role. However,any build that uses Octopack fails when executed on the new TeamCity agent. Here is an extract from the build log:

Running command: octo.exe create-release --server https://mabuild01:8443 --apikey SECRET --project NRK Bridge (Legacy) --enableservicemessages --version 0.0.0.662 --deployto Dev --waitfordeployment --package=NRK.Bridge.Web:0.0.0.662 --packageversion=0.0.0.662
[12:06:02]Creating Octopus Deploy release
[12:06:02]Octopus Deploy Command Line Tool, version 2.0.8.22
[12:06:02]
[12:06:03]Handshaking with Octopus server: https://mabuild01:8443
[12:06:06]The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateChainErrors
[12:06:06]Certificate subject name: CN=mabuild01
[12:06:06]Certificate thumbprint: 79C26(…)
[12:06:07]The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateChainErrors
[12:06:07]Certificate subject name: CN=mabuild01
[12:06:07]Certificate thumbprint: 79C26(…)
[12:06:08]The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateChainErrors

What I noticed is that the certificate thumbprint in the build log is different from thumbprints shown in Octopus server machine page. Am I overlooking something here?

Thanks in advance

We have resolved the issue. It was caused by having Octopus being set up on HTTPS protocol. Once we imported the certificate from the Octopus server machine, it worked.