I replaced my main exchange server's certificate and now the edgesync fails.
When I do a "Start-EdgeSynchroinzation" on the hub transport server I get:
and the "Test-EdgeSynchronization" command Returns this:
UtcNow : [a few seconds ago]
FailureDetail: EdgeSync service cannot connect to this subscription because of error "No EdgeSync credentials were found for Edge Transport server. Remove the Edge subscription and re-subscribe to the Edge Transport server."
CredentialRecords: Number of credentials 0
CookieRecords: Number of cookies 0
Just to be clear it was the cert on the hub transport that was replaced, not the cert on the edge server.
I've removed the edge subscription from the hub transport server using EMC then went to the edge server and ran:
New-EdgeSubscription -FileName C:\Users\Administrator\Desktop\edge-subcription.xml
Then copied the file to the hub transport server and used "New Edge Subscription" in the EMC to re-add the subscription. After adding the subscription the EMC shows the EXCH2-EDGE subscription as valid under the "Is Valid" column.
However when I run the Start-EdgeSynchronization or Test-EdgeSynchronization commands (on the hub transport server) in the EMS I get the results I posted above. Given that it was the Hub transport that had it's cert replaced, it's likely that the edge server can't authenticate against the hub transport and not the other way around. Does anyone have any idea how I can fix this?