I am using websphere 7. From its Admin console certificate can be added to trust store.
Security->SSL certificate and key management->Key stores and certificates-> NodeDefaultTrustStore-> Signer certificates
I want to add it programmatically through Java code. How can I add and remove it from that store using Java?
There is no way to add truststore in Websphere programmatically through Java code.