How to export public and privete keys from IE
My goal is make a secure connection to a one web site by using Java. Previously I have connected to the web site just by using IE.
If I click the yellow lock icon at the right bottom corner of the browser it shows me the certificate when logged in the web site.
If I have understood correctly I need the public key from the server and my private key in order to create the secure connection in my Java application. This connection creation process is quite well explained in
http://www.panix.com/~mito/articles/articles/jsse/j-jsse-ltr.pdf
But how I can export the public server key and private client key from the IE to be used by the keytool command?
I have read that I just can copy-paste the binary values from the certications details, add some ---- PRIVATE KEY START --- etc. tags and save as a text file with some name... But how the whole process goes?
TR