Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i want to sign my jar file so that i can use it using the JNLP file. For this i have to sign my jar file. For this i followed the instructions provided in sun's site. i requested for a certificate using the command keytool -certreq. with this i received a certificate with some gibberish which i stored in a file named "xyz". After that i tried to import it using the command keytool -import -alias abc -file xyz. This asks me for my password for keystore and then gives an error which is below :
keytool error: java.lang.Exception: Input not an X.509 certificate
also when i tried to get the fingerprint of the certificate i received an error saying :
sun.security.pkcs.ParsingException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)
Caused by: java.io.IOException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)
... 8 more
keytool error: java.lang.Exception: Failed to parse input
now i don't know what else to do as sun's site does not mention of any such errors. I will be glad if you can help me through this problem.