03-08-2011 12:56 AM - edited 03-08-2011 12:57 AM
I am in the process of signing a webworks app for the playbook, and when I ran this:
./blackberry-keytool -genkeypair -keystore sigtool.p12 -storepass mypassword -dname "cn=Creative App Design, LLC" -alias author
I got this error:
keytool error: java.io.IOException: Incorrect AVA format
The only way I could find to get around this was to enter the company name without a comma. This allowed everything to run smoothly until I actually try to sign the app, and I receive this message:
barsigner error: server error: Code signing request failed because Common Name in developer certificate is not [Creative App Design LLC].
The only thing I can think is that when I registered for the signed keys I registered under the company name with a comma, so it won't verify when I don't use a comma when generating the key. Do I need to re-register for keys under my company name without the comma, even though that's not what my actual company name is????
This whole process has been an incredible pain...
Solved! Go to Solution.
03-08-2011 10:25 AM
You are correct. Punctuation is not allowed in the CN name and that name needs to match what was used during registration for the keys. You will probably need to get a new set of keys with a simplier organization name.
03-08-2011 07:38 PM
You have got to be kidding. Blackberry will accept a submission with a comma in the CN and will issue the csj file, but when you try to create a certificate (or select an existing certificate) spelled EXACTLY THE SAME WAY, it bombs????
I'm having the same problem (Futurescale, Inc), as I'm sure every company with an 'Inc' after their company name will.
I also can't select my Thawte issued code-signing certificate that I paid for and sign all my AIR apps with.
However I've only tried this through the FB 4.0.1 IDE. I'm going to try it with the command line and see if that's possible.
03-08-2011 08:37 PM
No luck with the command line, unable to get the barsigner to work. It can't figure out where it's libraries are. I've done everything I can to point it in the right direction and there is no hope.
-=Cliff>