Why does JadTool say "Not an RSA key: DSA"?

I'm trying to sign a midlet with a CA's blessing and have followed the sequence described in WTK tool documentation, http://www.spindriftpages.net/blog/dave/2006/06/18/midlet-jar-signing-a-tutorial-revised/ , http://www.forum.nokia.com/document/Java_ME_Developers_Library_v2/ , and such. I created a keypair with my company info, then a certificate signing request as described in many places, gave Verisign the request and $500, imported the reply in my keystore, and am now using JadTool from the WTK (we're at WTK2.5.1). JadTool.jar -addcert works fine. JadTool.jar -addjarsig throws "java.security.InvalidKeyException: Not an RSA key: DSA". If I dump the keystore I see no refs to a DSA key. I do see "Signature algorithm name: SHA1withRSA" which is surprising, following MD5 and SHA1 fingerprints, for certificate 1 (us) and 2 (Verisign).
Thanks in advance for any suggestions / answers.

Verisign tech support had the answer. In my case, the replaced key in the keystore had only 2 certificates in the chain, not 3. Because I did not say "-trustcacerts" when importing the reply from Verisign, it did not look up their top-level certificate from the cacerts file in the JRE, the one signed by God that vouches for Verisign. Since I did not have a copy of the pre-reply-import keystore, I had to start over, generate another certificate signing request, and go to the Verisign site to request a replacement. (They don't charge you another $500 for this.)
There was a new issue here - apparently I had been using some earlier version of keytool before. When importing the base64-encoded reply, -rfc is no longer necessary; it checks auto'ly. But where before I had to remove the "-----BEGIN CERT..." and "-----END ..." lines from the reply that I import, now they are required.
Stan

Similar Messages

  • HT1941 why does it say 'not charging'

    So...I am a week away from my warranty expiring and have started to notice an intermittent issue with my MBA.  When I attach the charger the light stays very dim and my MBA shows the plug icon but says 'not charging' beside it.  What causes this?
    I can unplug and reattach the charger and then sometimes it just starts working, other times the same error happens again.  The connector is not dirty or dusty.
    Any thoughts?  Should I go to an Apple store?
    Thanks,
    Ian

    I went to the apple store and there was indeed a problem with my magsafe adapter...they just gave me a new one.
    Thanks guys!
    Ian

  • ITunes says I have authorized five computers so I can no longer play music I have purchased. I have not replaced my computer once. Why does iTunes say this?

    iTunes says I have authorized five computers so I can no longer play music I have purchased. I have not replaced my computer once. Why does iTunes say this?

    Hey Christownsend,
    Thanks for the question. To troubleshoot this issue, you may want to try deauthorizing all computers:
    iTunes Store: About authorization and deauthorization
    http://support.apple.com/kb/HT1420
    To deauthorize all computers associated with your Apple ID
    If you need to authorize your new computer and are unable due to already having five authorized computers, you can deauthorize all computers by doing the following:
    1. Click iTunes Store on the left side of iTunes.
    2. If you're not signed in to the store, click the Account button, then enter your account name and password.
    3. Click the Account button again (your Apple ID appears on the button), enter your password, and then click View Account.
    4. In the Account Information window, click Deauthorize All.
    Note: You may only use this feature once per year. The Deauthorize All button will not appear if you have fewer than two authorized computers. If you need assistance on using this feature, please contact iTunes Store support via email (http://www.apple.com/support/itunes/store/).
    Thanks,
    Matt M.

  • Why does it say that the updated version of Firefox (which I am trying to download) is not compatible with my operating system when I have Mac OS X 10.5.8?

    Why does it say that the updated version of Firefox (which I am trying to download) is not compatible with my operating system when I have Mac OS X 10.5.8? I had an older version of Firefox and it said I needed to update it but that was the message that appeared.

    Sorry, it's because Firefox 4+ are only compiled for the Intel processors.
    There is a separate project for PPC Macs called Ten Four Fox. You might give it a spin when you're tired of 3.6.
    http://www.floodgap.com/software/tenfourfox/

  • Why does itunes say the entry point is not found

    why does itunes say it didn't install correctly and to reinstall?

    Greg, did the "Patchburn" really work for you?
    I had the same problem today. I have a smart playlist made up of: Kind>is>Protected AAC audio file. This smart play list allows me to keep track of music I've downloaded from the iTMS after inadvertently deleting the Purchased Music default playlist. Yes, I know a new “Purchased Music” playlist is created when you buy music again, but it doesn’t contain any of the songs you’ve already downloaded.
    When I went to burn this playlist (several hundred songs) to multiple audio CD format - I go the same result you got.
    "After asking to burn a play list it asks to insert CD, checks the media, checks the play list and then stops with the apple icon reappearing and NO error message."
    Apple tech support couldn’t help me - I found that out the hard way - after 1.5 hours on the phone. No, I haven't exceeded the 7 time burn limit either.
    I tried selecting all the songs in the smart playlist and creating a new [regular] playlist and tried to burn from that, but got the same result.
    Finally, I tried typing "Protected AAC audio file" from my main library in the search window, selected all the songs that resulted, created a new [regular] playlist from that selection and the burn was successful.
    It was a real pain and took almost 3 hours to figure out, but it worked. I'm going to try the "Patchburn" download talked about earlier, but don't know if that's the real problem.
    Yes, I have upgraded my SuperDrive, but iTunes recognizes it - Preferences>Advanced>Burning - if your drive shows up here then that's not the problem. Besides, I had the same problem when trying to burn to the original SuperDrive too.
    I think the problem may be deeper inside iTunes itself. Duh! Maybe something with Apple tightening their DRM scheme which may make us unwitting beta testers to see if they tightened the noose too tight or not. Just a guess.
    Any thoughts, anyone?
    Power Mac G4 MDD   Mac OS X (10.4.3)  

  • HT201210 why does it say im not connected to the internet when i plug my i phone in but i am connected to the internet. what do i do?

    why does it say im not connected to the internet when i plug my i phone in but i am connected to the internet. what do i do?

    no into my labtop i have internet but for some reason when i plug my iphone into it it saids update servers could not connect to the internet please check to make sure u have internet and i do.

  • Why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet?

    why does it say itunes can not contact the ipod update server because you are not connected to the internet when i am connected to the internet? i need to update my ipod i even changed the LAN settings and it stilll doesnt work

    Have you seen this article?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    B-rock

  • Why does it say in the Firefox Safe Mode article that all of the changes are temporary while in Safe Mode, then later it says "Note: The following changes cannot be undone."?

    Why does it say in the Firefox Safe Mode article that all of the changes are temporary while in Safe Mode, then later it says "Note: The following changes cannot be undone."?

    When you open Firefox in Safe Mode, it automatically disables your custom settings, themes, and add-ons. THOSE changes are temporary.
    However, if you click any of the boxes underneath the line, "You can make some or all of these changes permanent", and then choose "Make Changes and Restart", everything you checked will be forever changed, even when you start Firefox again in 'normal' mode. [See attached image for a preview of the Safe Mode options].
    To be clear:
    1. If you check any of the boxes but do NOT select "Make changes and restart", those things will not be changed at all in safe mode.
    2. If you select any of the boxes and you DO select "Make changes and restart", you will permanently lose any of the items you checked (bookmarks (except for backups), user preferences, etc.).
    If you performed the action in step 2 above, you will only be able to restore those things if you have a previously created back-up of your Mozilla Profiles folder (not the same as the Firefox program folder).
    Hope this helps.

  • Why does phone say "this device not supported" when charging

    why does phone say "this device not supported" when charging?

    If it is clean connect a 2nd accessory of the same kind to see if you need to replace the accessory or continue troubleshooting the phone.

  • In the home page why does Firefox say I haven't upgraded when I have. This has been going on for over three weeks, I am now on 9 and still it says I have not upgraded.

    In the home page why does Firefox say I haven't upgraded when I have. So I upgrade again and still it says I haven't next time I log on. Today I upgraded to 9, it said congratulations on upgrading, I log off then log back on only to be told yet again I need to upgrade. What is going on?

    You may see that message below the Google search box on www.google.com/firefox which is the old Firefox default home page. It appears that page is no longer being maintained. You appear to have Firefox 8.0.1 installed which is the latest version.
    '''If you want the Google search page as your home page,''' change your home page to '''''about:home''''' (a new, updated version is now built-in to Firefox).
    *See --> http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    Also see --> https://support.mozilla.com/en-US/kb/Finding+your+Firefox+version<br />
    You can also see your version on the ''Help > Troubleshooting Information'' display
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • WHY DOES IT SAY BATTERY NOT CHARGING WHEN I TRY TO CHARGE MY IPAD??

    WHY DOES IT SAY BATTERY NOT CHARGING WHEN I TRY TO CHARGE MY IPAD ???

    How are you trying to charge it, via a computer or the wall plug ? If a computer, then a lot of computers (especially older ones) generally do not provide enough power to their USB ports to charge the iPad at a sufficient rate - it may still be charging slowly, and should be a bit quicker if the iPad's screen is off (if you leave it for a while and then disconnect it from your computer you may find that it's battery percentage has gone up). The wall charger is usually the most efficient way to charge the iPad.
    If the wall charger then have you tried a reset to see if it charges after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    If that doesn't work then have you tried a different charger and/or cable ? Do you know anybody else with an iPad so that you can try their charger and cable and they can try yours ?
    And for info typing in capitals is considered SHOUTING.

  • Why does facebook say adobe flash is not installed

    why does facebook say adobe flash is not installed when it is - windows 7 IE11????

    Unless you're on a company computer and locked down to prevent using anythng else, I'd recommend you drop Microsoft's pathetic excuse for a browser and download Firefox.
    Then install the Flash Player Plug-in (For other browsers), and free yourself from the chains of the guys in Redmond, WA who can only seem to get things right 50% of the time.

  • HT204053 Why does it say my apple ID is not eligible to purchase gift certificates

    Why does it say my apple ID is not eligible to purchase gift certificates

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Why does ichat video not connect?  The error message says we did not respond.

    Why does ichat video not connect?  The error message says we did not respond.

    Hi,
    iChat uses several port as they are called over the internet to do different things
    Text Chats and Video Chats are on different Ports.
    You probably don't have the port open.
    Use UPnP in your router if it has it.
    8:59 PM      Sunday; August 12, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why does it say sim not valid?

    why does it say sim not valid?

    Because you're trying to use a sim card from a carrier other than the carrier your phone is locked to. That's why. To use different sims, from different carriers, you need to get your phone officially unlocked.
    If you got this message & are using the correct sim, that's a different problem. If so, post back.

Maybe you are looking for

  • Bypass Logon screen of the SAP R/3 system where WDA application resides

    Hi, I created an application in WDA. I have another appplication in WDJ. On one of the views of WDJ application, I created a link to URL UI elem and provided WDA application's URL to it as a reference. When I click on the link to URL,  I expect that

  • Tree in JSP

    I am trying to display the values getting from the database and display in the tree to different levels of nodes.I also need to dynamically add a node to the tree. So please help me to do the needful if any one has the solution thanking you

  • Selecting duplicates within a time period of each other? [SOLVED]

    Using Oracle 9i 9.2.0.6.0 I'm trying to return all the rows in a table where the entries are the same and within a certain amount of time of each other (15 seconds or less). The time is not stored as a date, but rather as a number, seperate from the

  • List web part column alignment: how to change?

    I have a wide list web part but all the three columns are aligned to left. So there is a huge white area on the right. Was it like this also in 2010? Can I change it so that the columns would be spread also to right?

  • T60 right shift key insufficient travel

    The keytop doesn't travel far enough to activate.  Press down hard and it works.  As a temporary fix, I put a thin piece of cardboard between the keytop and switch, and it works.  Anybody have a proper fix for it?  Is the switch easily replaceable?