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
Developer
greenback
Posts: 535
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use
Accepted Solution

Manage Two Signers/Keys in Momentics?

Hello there,

 

I recently started working at a new company and I need to set up my Native Development environment to deploy their app (via debug tokens) and to sign the app. 

 

Workflow

 

What is the process/workflow for signing when you are managing two vendor accounts and their apps?

 

Generating Author File

 

Please help! How do you generate the author file for the second account using the native workflow? Where is the command line utility in Windows/Mac for doing this?

 

What to backup? How to Switch?

 

Thank you for your help.

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Manage Two Signers/Keys in Momentics?

The ability to switch isn't built into the BlackBerry Native SDK.  But you can do it by backing up and deleting one set of keys and restoring another.  Just make sure to delete your debug tokens as well.

 

Backup and Restore BlackBerry Code Signing Keys

 

Code signing keys are tied to your account on your computer.  So an alternative approach is to have a different login for each set of keys.

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
greenback
Posts: 535
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Manage Two Signers/Keys in Momentics?

I was following the documentation. Here's what I have successfully done so far:

 

1) Registered new keys

 

ISSUES:

 

CERTIFICATE 

On Mac. I pressed "Create certificate" in the Signing Wizard. It seems to have generated a file, however the Author name is empty, even though I typed it into the field. [see attached screencapture]

 

(By the way, I deleted the other vendor .p12 file from its default location before starting this wizard. Not sure if that has anything to do with this error.)

 

CREATING DEBUG TOKEN ERROR

 

See screencapture 2. "Certificate file does not exist".

 

 

Question:

 

How do I resolve these errors? How do I create a certificate file?

 

 

Thanks!

 

 

 

 

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Manage Two Signers/Keys in Momentics?

If the BlackBerry Native SDK was open when you deleted the author.p12, restart it before creating the new one.

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
greenback
Posts: 535
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Manage Two Signers/Keys in Momentics?

[ Edited ]

I restarted Momentics. Seems the problem was that the Author field did not accept commas or periods unless those characters were escaped.

 

The issue is now solved.

 

 

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Manage Two Signers/Keys in Momentics?

Did you mean "now solved", or is there still a problem?

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