03-31-2011 04:53 PM
I talked to a friend who was also building an app - he followed the instructions listed here by Prof Hawking:
And got the following error:
barsigner error: developer certificate and private key not found in keystore orstore password not supplied[ERROR] Signing failed
The only simularities between our computers are that we are both running Windows 7 x64 enterprise. I have just had a certificate arrive - would it be best if I try a build on Windows XP?
03-31-2011 07:59 PM - edited 03-31-2011 08:00 PM
Ok - so last night I ordered one more certificate and it arrived this morning, just for fun I put together a windows xp machine and ran it from there - i followed the exact same procedures that I have run through 4 other times on my Windows 7 x64 OS - and guess what: This time it worked.
There must be some issue with Win 7, I'm surprised no one else has struck this, perhaps I just have all the bad luck.
04-04-2011 03:21 PM
You mentioned that you copied the sigtool.p12 file to the bbwp directory. But this actually has to be copied to the bbwp\bin directory.
Is it possible you did this on the XP machine but not the Windows 7 machine? Try coping the file to that location on your Windows 7 machine (the rest of the steps you had posted look right).
04-23-2011 11:38 PM
Yep it was definitely a problem in Windows 7, i tried at least a half dozen times with various different configurations - when I put it on a Windows XP machine it worked first time out.
04-24-2011 07:00 PM
Would someone please tell me WHAT DIRECTORY I need to put the two files (csj) that I received. I want to test on the live device.
My Original Post from Testing & Development
http://supportforums.blackberry.com/t5/Testing-and
Thanks!
Do people really want their phone making decisions for them? Whatever happened to the human element? Stop this madness!
04-25-2011 11:23 AM
04-28-2011 09:31 PM
I don't think this is a hijack, but if you feel it is...please move this. I have successfully set up signing on 3 computers (and to all those who are complaining...I agree...this is WAY harder than it should be to set up), only running the first full steps on the first computer. Then rather than registering for more .csj files for each new computer, I'm copying the sigtool.p12, barsigner.csk, and barsigner.db files to the proper locations on the other 2 computers. This works perfectly.
Now, what I'm trying to do is automate this in ANT. The issue appears to be the barsigner.* files. Because these go into a sort of wacky place on each system, the ANT copy task seems to fail. As I said, this works perfectly if I manually copy the files into place, but when I run my ant tasks (below), the output says the files were copied, but the signing attempt fails saying the cert chain is invalid. The reason this is important is for setting up other developers and our automated build machine...I want to be able to check the keys into SVN with the project source, and have the build process setup the signing bits. Any ideas why the ANT copy command doesn't seem to work to put the barsigner.* files into place?
<property name="sdk.HOME" location="C:/tools/rim/playbook/webworks" />
<property name="bbwp.dir" location="${sdk.HOME}/bbwp"/>
<property name="rimLocalAppSettings" location="c:/Documents\ and\ Settings/[username]/Local\ Settings/Application\ Data/Research\ In\ Motion/"/>
05-13-2011 06:29 PM
i have problem too with singing webworks app
when I type:
bbwp "c:\app\appName.zip" -gcsk xxx -gp12 xxx2 -o "c:\app"
i get : barsigner error: keystore load: store password inccorect.
there is no way that i type wrong pass. i have only 2 passowrds cskpass and storepass
What i shoud do ???