Hi Rangarajan,
Trading Partners are not supposed to exchange the private keys among them. Only public-key needs to be shared.
So, whenever your IS/TN asks for the private key, it cannot be your partner’s private key, it has to be your private key.
Also, it is some time now but we were able to store diff. partner’s cert in their TN prifile and we never had to call the service pub.security:setKeyAndChain for the doc exchange between us.
Pls. write in detail what you are trying to do?
Regards,
Bhawesh.
#webMethods#B2B-Integration#Integration-Server-and-ESB