I generated my private key with openssl and it is file serverkey.pem, I have also serverreq.pem that I sent to cert authority. They will send me signed certificate.
Is there any way how to convert serverkey.pem into Java Key Store? Do I have to generate something else or does it need only private key serverkey.pem? Can I do it with Keytool?
I know how to import cacerts and the signed cert into existing JKS, but I don't know how to create JKS from private key PEM. Thanks for any help.