03-02-2011 05:29 AM
currently I've just got a problem regarding signing the app using webworks api for playbook.
In particular, I could already package it into a bar file but just cannot sign it.
I've followed all instructions at
And it seemed I've already successfully registered my file because I've got the following mail in my mailbox:
A registration request completed successfully for client 'xxx'. The client has xxx code signing request(s) left.
The client was sent back the following message:
Client 'xxx' successfully registered with signing server ID RDK, and now has xxx code signing attempts remaining.
Then when I run the command: ./bbwp ~/Dropbox/Interceptr.zip /gcsk 123456 /gp12 123456 /buildId 1 /o /Users/xxx/Desktop (I've replaced my real pass in this email with string 123456)
I've got following messages from the console:
[INFO] Parsing command line options
[INFO] Parsing bbwp.properties
[INFO] Validating WebWorks archive
[INFO] Parsing config.xml
[WARNING] Failed to find a <feature> element
[INFO] Populating application source
[INFO] Compiling WebWorks application
[INFO] Packaging the bar file
[INFO] Bar packaging complete
[INFO] Starting signing tool
barsigner error: developer certificate and private key not found in keystore or store password not supplied
[ERROR] Signing failed
and using blackberry-signer gives the same output:
./blackberry-signer -verbose -cskpass 123456 -keystore sigtool.p12 -storepass 123456 ~/Desktop/Interceptr.bar RDK
barsigner error: developer certificate and private key not found in keystore or store password not supplied
I wonder if anyone has any ideas about it?
Solved! Go to Solution.
03-02-2011 08:19 AM
Make sure you name the certificate file as "sigtool.p12" and place it under bbwp/bin folder
I had a similar issue because i was naming the certificate as something else.
03-02-2011 10:52 AM
thx for your info tags, I did have this sigtool.p12 distributed everywhere, one copy in bbwp/blackberry-tablet-sdk/bin, the other in bbwp/bin. But it doesn't help ... Any more clues?
03-02-2011 11:07 AM
and I've also generated barsigner.csk barsigner.db in my ~/Library/Research In Motion directory
03-04-2011 08:21 PM
I have the exactly same problem as you except that I am using Windows 7.
Anyone can give us some hint to resolve the issue?
03-04-2011 09:13 PM
These are the exact steps I followed. I have tried this twice and havn't seen issues either on WinXP or Win7
updated PATH env variable to add all the paths to the tools
03-05-2011 02:29 AM
thanks tags, ah...now I've successfully signed my app.
It's due to understanding error there.
for this command:
blackberry-keytool -genkeypair -keystore sigtool.p12 -storepass #pass# -dname cn=#name# -alias author
I've changed the string "author" at the end to my own name and then we cannot sign.
@waynes2011, you have to request a new signature file from bb (resubmit that webform) and using the commands as tags listed above...
Thanks again for you guys
.
03-05-2011 12:41 PM
Thank you all.
I still have errors.
I will get a new signature file from BB as suggested.
03-10-2011 02:59 AM
quite funnny actually, i made the same mistake
instead of
-alias author
i put down
-alias bryan
What was that saying about "assumptions" again...?
Thanks for posting that, I had the exact same issue and solved it with the exact same solution
03-11-2011 05:53 AM
hi guys,
tried these steps exactly as stated. registered successfully but i get an error that my CSK password is incorrect when it tries to sign my bar file. I am 100% sure it is correct. any ideas ?
regards
yosoh