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

Reply
New Contributor
zheden
Posts: 2
Registered: ‎11-21-2012
My Device: Playbook 2.0
Accepted Solution

Cannot register keys

Hi!

 

I've got keys and successfully registered them. But something went wrong and I failed to create debug token: Failed to decrypt keystore error.

So I received new keys. But failed to register them:

Error: Already registered with RDK

Error: Already registered with PBDT

 

Do I have to make some changes to be able to register new keys?

 

Thanks,

Ievgeniia

Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900

Re: Cannot register keys

are you developing for BB10?  Playbook?

what SDK are you working with?

 

BlackBerry Development Advisor
oros
Posts: 1,557
Registered: ‎04-12-2010
My Device: BlackBerry Z10

Re: Cannot register keys

At the bottom of the following document, you can find the location where your author.p12, barsigner.db, and barsigner.csk files are saved based on your OS:

https://developer.blackberry.com/html5/documentation/signing_setup_bb10_apps_2008396_11.html

 

My recommendations would be:

 

  • Rename the author.p12 file to something else, and attempt to generate a new author.p12 from the command line with a keystore password that matches your code signing password:
blackberry-keytool -genkeypair -storepass <create_a_password> -dname "cn=<company_name>"

 

  • If you still see issues, rename all of the existing author.p12, barsigner.db, and barsigner.csk files to something else. This will essentially "remove" your signing keys, allowing you to register your new CSJ files.

 


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
New Contributor
zheden
Posts: 2
Registered: ‎11-21-2012
My Device: Playbook 2.0

Re: Cannot register keys

Thanks! Worked

New Developer
joshdvx
Posts: 22
Registered: ‎01-08-2013
My Device: BB10 Alpha A

Re: Cannot register keys

Ahh you guys rock... I've been stuck on this issue for so long. 

New Member
anuragsoni
Posts: 4
Registered: ‎02-04-2013
My Device: 9800

Re: Cannot register keys

I have deleted my  author.p12, barsigner.csk and barsigner.db files by mistake, and have not taken any backup of those file, now while I have requested for new key and signed the apps, at the time of loading it showing error.
 
Could you please help me out is there any solution
BlackBerry Development Advisor
oros
Posts: 1,557
Registered: ‎04-12-2010
My Device: BlackBerry Z10

Re: Cannot register keys

Can you please provide a screenshot of the error? As well as the command you are executing?


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.