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

Testing and Deployment

Reply
New Contributor
Posts: 6
Registered: ‎10-25-2012
My Device: Blackberry 10
My Carrier: IDEA

The author.p12 file is not generated in webworks SDk??

I m using blackberry Graphic Tool. When i am creating a certificate,The author.p12 file is not generated in webworks SDK. and when building a WebWorks Application, the error is coming Cannot sign application - failed to find signing key file: author.p12.... so now what to do

BlackBerry Development Advisor
Posts: 15,211
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: The author.p12 file is not generated in webworks SDk??

The BlackBerry Tablet OS Graphical Aid can be used to create the author.p12 certificate.  Click on the Configuration tab, run the configuration wizard and click on the Create Certificate button on the certificate creation step.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 271
Registered: ‎12-24-2010
My Device: BlackBerry 10
My Carrier: Airtel

Re: The author.p12 file is not generated in webworks SDk??

For me also, i am facing the issue to generate author.p12 for Android Runtime. Error is :

 

Exception in thread "main" java.lang.NoSuchMethodError: sun.security.x509.CertAndKeyGen.getSelfCertificate(Lsun/security/x509/X500Name;Ljava/util/Date;J)Ljava/security/cert/X509Certificate;
at net.rim.device.codesigning.keytool.KeyTool.a(Unknown Source)
at net.rim.device.codesigning.keytool.KeyTool.if(Unknown Source)
at net.rim.device.codesigning.keytool.KeyTool.a(Unknown Source)
at net.rim.device.codesigning.keytool.KeyTool.main(Unknown Source)

 

Itried using eclipse as well Blackberry Tablet OS Graphical. Error is same.

 

Can you please help. 

New Contributor
Posts: 6
Registered: ‎10-25-2012
My Device: Blackberry 10
My Carrier: IDEA

its solved

isue has solved fr me... first download your signing keys... as i have done in this way- i have saved my signing keys in C:\Keys\key1 and 2 in same folder. now open cmd and type cd C:\Program files\research in motion\webworks\dependencies\tools\bin (use yr own path) and then next step,

 

 blackberry-signer -register -csjpin <csj pin> 
    -storepass <KeystorePassword> <client-RDK-xxxxxx.csj file> 
    <client-PBDT-xxxxx.csj file>

after that Sign Your App by BB Graphical Aid Tool.....
Developer
Posts: 271
Registered: ‎12-24-2010
My Device: BlackBerry 10
My Carrier: Airtel

Re: its solved

Thanks..But i already installled those csj file. Means my device is already registered with this signing keys..After that while i was trying to generate the author.12 file.. it was giving the error which i mentioned.

Highlighted
Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: its solved

Signing seems completely broken on Windows 8




Click the like button if you find my posts useful!
Developer
Posts: 271
Registered: ‎12-24-2010
My Device: BlackBerry 10
My Carrier: Airtel

Re: its solved

Still the same error i am getting..

 

Exception in thread "main" java.lang.NoSuchMethodError: sun.security.x509.CertAndKeyGen.getSelfCertificate(Lsun/security/x509/X500Name;Ljava/util/Date;J)Ljava/security/cert/X509Certificate;
at net.rim.device.codesigning.keytool.KeyTool.a(Unknown Source)
at net.rim.device.codesigning.keytool.KeyTool.if(Unknown Source)
at net.rim.device.codesigning.keytool.KeyTool.a(Unknown Source)
at net.rim.device.codesigning.keytool.KeyTool.main(Unknown Source)

 

I tried using command prompt and Graphical AID both. Got the same error in both the cases. I am using 1.0.4.5 webworks SDK and trying in WIN 7.  Please help..

BlackBerry Development Advisor
Posts: 15,211
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: its solved

Do you have a 32 bit JDK installed?  What version are you using?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 271
Registered: ‎12-24-2010
My Device: BlackBerry 10
My Carrier: Airtel

Re: its solved

Yes i am using 32 bit JDK and version is 1.6. I am able to build it in the ripple emulator. Even i am working on BlackBerry Java Develoment which is working fine..

BlackBerry Development Advisor
Posts: 15,211
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: its solved

What version of JDK 1.6 do you have?  Can you try upgrading to the latest 1.6 JDK?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker