I recently moved to new company and this company is in Security domain. It is totally new for me. My manager gave me some work to get a feel about the domain.
I was asked to use etoken keystore for SSL instead of old file based.
I understand for the same i need to do following things:
1) create a certificate request ( use private key present in the token and sign the certificate and then export it outside)
2) get this CR signed by the CA
3) import the signed certificate in client keystore (not in token)
4) make the entry of local ca root certificate into the client keystore
5) use for ssl then
I struck at first step itself I am able to sign but don't know how to export.. Can i simply write the signed bytes into some file? Any help is much appreciated.. Here is my code..