title: keytool error: java.io.IOException: toDerInputStream rejects tag type 45
body: <p>I have got the error as "<strong><em>keytool error: java.io.IOException: toDerInputStream rejects tag type 45</em></strong>" when I am importing a Self Signed certificate into the certificate file "<strong>cacerts</strong>" which is available in the jre library. </p>
  
  <p>The command am using to import the certificate is "<em>keytool -importkeystore -srckeystore D:\User\KotakTPINSSL.cer -srcstoretype pkcs12 -destkeystore D:\User\certfile\cacerts -deststoretype JKS"</em></p>
  
  <p>I have also gone through the link <a href="https://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag">Push notification - Caused by: java.io.IOException: toDerInputStream rejects tag type 45</a>  but that does not suits with this problem.</p>
  
  <p>Can someone tell me the alternative command to import the certificate? or Is there any other thing that I need to do?</p>