Agent logging Wrong Certificate Error
skycaptain
Posts: 21
Hi,
I've just checked the windows log viewer and I found a lot of errors of type
Could not establish a trust relationship because the other party was using the wrong certificate; the key of the certificate they provided was:xxx while we would have accepted: xxx
I am certain that the key entered was the corect one! where is this key saved? I may take a look myself and see what's in there.
Thanks
I've just checked the windows log viewer and I found a lot of errors of type
Could not establish a trust relationship because the other party was using the wrong certificate; the key of the certificate they provided was:xxx while we would have accepted: xxx
I am certain that the key entered was the corect one! where is this key saved? I may take a look myself and see what's in there.
Thanks
SkyCaptain
Comments
You should also be able to tell whether the trust relationship between the server and agent is correct by performing a health check in the server. If an agent doesn't trust the server, it will show up as an offline agent.
Redgate Software
Thanks for your reply. The health check shows OK. However, I#ve just found out that the agent was used with another server (and another server key) and this is why we keep getting
RedGate.Deploy.Agent.Services.AgentServiceHostStarter [(null)] - Could not establish a trust relationship because the other party was using the wrong certificate; the key of the certificate they provided was: CERT1 while we would have accepted: CERT2.
The current server's key is CERT2, but for some reason is seems to be picking the old DM's key. I understand it may not be fatal but some concerns have been raised since there is an error in windows log viewer every few minutes. I thought there may be a way the agent can forget the old server.
Redgate Software