two different certificates, same remote server

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???

What version / service pack of IS?

ProductwebMethods Integration ServerVersion6.5 UpdatesIS_6-5_Fix59
IS_6-5_Fix60
IS_6-5_Fix61
Build Number394SSLStrong (128-bit)