Hi,
I have the odd situation that we have two companies running on the same IntegrationServer. Both companies have got their own certificate (lets say certA and certB) to communicate to the same remote server.
The problem I have is that, no matter what, IS always uses certA to communicate with remote server. This is what I tried:
================================
clearKeyAndChain
setKeyAndChain (certA)
sendDocumentforCompanyA → successful request
clearKeyAndChain
then recently created another service:
================================
clearKeyAndChain
setKeyAndChain (certB)
// I logged the certificate content and is definitely for company B
sendDocumentForCompanyB → error, using certificate from compA!!!
clearKeyAndChain
Any ideas? All help much appreciated. Looks like the clean doesn’t work???