I have a request where i need to write the content on db from application running in Server A to Same application running in another instance Server B.
DB read write are via SOAP API's
Both server do have their own client.truststore file.
From a stand alone Server C using Server A's client.trustsrore i am able to read write to Server A's DB And using Server B's client truststore am able to read write in to Server B's DB.
Since the requirement is to read from Server A and write into Server B. I introduced a new keystore file in both the servers and i set the system.properties properly (Both keystore location and password). and this keystore was copied properly in to both servers with permissions.
I created the certificate using private key and then created keystore file using keytool command.
Since keeping the keystore file in 2 server didn't work. It always complained unknown_certificate. I tried to import the certificate to cacerts under /$JAVA_HOME/lib/security/. But even this gives unknow certificate with handshake exception.
Is there anything else i want to do which i am missing?
Regards
Dheeraj Joshi