Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 02-08-2008, 11:53 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 10

Rep: Reputation: 0
unable to import requested certificate

hi all,
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 : X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)
Caused by: 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.

Old 02-09-2008, 04:55 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well it seems pretty clear that you don't have an x.509 cert... what format is it actually in? run "openssl x509 -in cert.pem -noout -text -purpose" to see what openssl thinks of it...

thread moved to software. This is not a networking question.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to import albums in digikam? mma8x Linux - Software 5 11-10-2009 05:08 PM
unable to import classes in my java code just started linux Programming 3 07-29-2006 04:02 AM
Can I retrieve certificate expiry date from an openssl certificate (command line) davee Linux - Security 1 07-21-2006 10:28 AM
Unable to import gtk module essdeeay Linux - General 1 01-13-2006 04:47 AM
openssl on slack 10 unable to read certificate from file chr15t0 Slackware 1 09-13-2005 10:46 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration