I added the self signed certificate using keystore from command prompt.
I found several links which tells how to add certificate to keystore, but they all say to store the certificate locally before running program and do the rest via code. I need to add certificate to keystore dynamically.
How can I add a certificate programatically?