Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 46
Registered: ‎01-14-2011
My Device: BB10
My Carrier: ATT
Accepted Solution

Error = Code signing request failed

I am trying to sign my webbworks application for the playbook but I am having trouble, here is the process of me packaging and then trying to sign it. I can install the unsigned bar file fine but I cannot seem to sign it.

 

 

 

"/Users/mike/Projects/blackberry playbook sdk/bbwp/bbwp" "$build_folder"/build.zip

 

[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]       WebWorks application packaging complete

 

 

"/Users/mike/Projects/blackberry playbook sdk/bbwp/blackberry-tablet-sdk/bin/blackberry-signer" -verbose -cskpass pass -keystore "/Users/mike/Projects/blackberry playbook sdk/bbwp/bin/sigtool.p12" -storepass pass "$build_folder"/bin/build.bar RDK

 

Developer Certificate TBS =

30 81 c5 a0 03 02 01 02 02 04 4d 82 a3 99 30 0c 

 

 

 

Sending properties to server...
Properties of response := [
Version = 1
Response = Signature Response
Confirm = null
Error = Code signing request failed because Application-Development-Mode in Manifest is present and is not set to [false].
]
barsigner error: server error: Code signing request failed because Application-Development-Mode in Manifest is present and is not set to [false].

 

Mike
marcucio.com - productivity apps
http://marcucio.com
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Error = Code signing request failed

The reason this is happening is because you should be signing your app at the same time as building it using bbwp.exe as outlined in the documentation, rather than building your *.bar file first and then signing it using blackberry-signer.

 

Why?  This is due to the fact that the BlackBerry WebWorks SDK currently builds apps in development mode, unless you specify that it should be signed in which case it creates it in release mode.  You cannot use blackberry-signer to sign a development mode app.

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Developer
Posts: 46
Registered: ‎01-14-2011
My Device: BB10
My Carrier: ATT

Re: Error = Code signing request failed

Thanks for the quick reply, this is the way I did it at first but I got the following error:

 

 

"/Users/mike/Projects/blackberry playbook sdk/bbwp/bbwp" "$build_folder"/build.zip -gcsk pass -gp12 pass

 

 

[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: server error: Code signing request failed because this file has been previously signed.
[ERROR]      Signing failed

 

Mike
marcucio.com - productivity apps
http://marcucio.com
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Error = Code signing request failed

>> barsigner error: server error: Code signing request failed because this file has been previously signed.

 

This can be caused by trying to sign the same version of the application.  Try incrementing the value of the version property in your config.xml (or use the -buildId command line parameter) and sign again.

 

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
New Developer
Posts: 46
Registered: ‎01-14-2011
My Device: BB10
My Carrier: ATT

Re: Error = Code signing request failed

ok thanks, that seemed to work, now how do i verify that it is signed correctly before submitting it to RIM?

Mike
marcucio.com - productivity apps
http://marcucio.com
New Contributor
Posts: 4
Registered: ‎03-04-2012
My Device: Developer with no real device
My Carrier: Dtac

Re: Error = Code signing request failed