0 Replies Latest reply on May 21, 2014 9:53 AM by Vinod Rapeswal

    keytool error: java.security.cert.CertificateParsingException: java.io.IOException

    Vinod Rapeswal Newbie

      Dear All,

       

      I am trying to import the certificate after importing the chained certificated successfully.

       

      Below is the keytool command used for importing the certificate

      keytool -import -alias tomcat -keystore <keystore name> -file <certificate file>

       

      And after entering the password, getting the following error: keytool error: java.security.cert.CertificateParsingException: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 49)

      Env details:

      - java version "1.7.0_51"

      - Windows 7

       

      Please help.