title: import .pem file in jre using keytool [Windows 7]
body: <p>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). </p>
  
  <p>I found some solutions but that were using openssl,<a href="https://stackoverflow.com/questions/2138940/import-pem-into-java-key-store">Import PEM into Java Key Store</a> but i have to use keytool,</p>
  
  <p>And also, When i execute "keytool -list" command on CMD, its giving me exception keytool error: java.lang.Exception: Keystore file does not exist:</p>
  
  <p>can anyone give me steps to import a .pem file in jre</p>
  
  <p>Thanks,</p>