Namespaces
Variants
Actions

Creating and using self-signed certificate

Jump to: navigation, search

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

 

Comments

(no comments yet)

This page was last modified on 29 January 2012, at 21:31.
155 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2012 All rights reserved