Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Creating and using self-signed certificate
Creating the Certificate
The certificate and its corresponding private key can be created with the following command:
makekeys -cert -dname "CN=Your Name EMemail@example.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):
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
- Application Signing
- Archived:How to sign a .Sis file with Self-Sign Certificate
- How to guide for creating/signing sis files