×
Namespaces

Variants
Actions

Creating and using self-signed certificate

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: antonypr (22 Jun 2007)
Last edited: hamishwillee (20 Jul 2012)

Creating the Certificate

The certificate and its corresponding private key can be created with the following command:

makekeys -cert -dname "CN=Your Name EM=obrotzhan@yahoo.com CO=myOrg" mykey.key mycert.cer



Signing the Installation Packages

Finally, to make use of the new certificate, installation packages must be signed using the corresponding private key. This process is documented in the SDK, but, briefly, the steps are the following: Copy the original key and certificate files created by makekeys to a known location. Add the following line to the installation package file (project.pkg):


*"mykey.key","mycert.cer"


Create the installation package normally. If you set a passphrase for the key, makesis will prompt you for it. The new installation package can now be installed normally and without security warnings.

Read more about how to sign a sis file using Carbid.c++ here

Other Related Links

 

This page was last modified on 20 July 2012, at 12:49.
50 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×