Hi
I have generated a private key using the below command and want to extract the
public key in a format that is compatible with sites using Java.
openssl genrsa -out priv_key.txt 1024
Is there a command in openssl that will extract the public key for this private
key in a cert file or xml format that is compatible with Java sites?
Note: I have used below command to extract public key in default PEM format.
But
the vendor requires the key format to be one which is compatible with Java.
openssl rsa -in priv_key.txt -out pub_key.txt -pubout
Regards
Vivek Panikulam