I have .pem file to access https url, but i am not able to import it in my local JDK, I am not sure which format should be accepted by keytool (.pem, .der, .cer, .jks, or .cer).
I found some solutions but that were using openssl,Import PEM into Java Key Store but i have to use keytool,
And also, When i execute "keytool -list" command on CMD, its giving me exception keytool error: java.lang.Exception: Keystore file does not exist:
can anyone give me steps to import a .pem file in jre
Thanks,