Carbide.c++ Tutorial 7 - Signing with Developer Certificate
Carbide.c++ can simplify the sis file signing task greatly, due to the GUI interface provided. Carbide.c++ provides a form based interface to specify all the required parameters for signing a sis file. This tutorial will give a general idea about the settings required and the place where they can be found.
For this signing tutorial any example discussed so far can be used.
The step by step guide
Step 1 - Obtain a developer certificate
This step assumes that you will carry out all the required steps to obtain a developer certificate from www.symbiansigned.com. Several good documents are available around describing this process.
Step 2 - Select a configuration
We usually sign the sis file to install on device, so we need to build the sis file for "device release" configuration. Once this is done sign the sis file generated. For this
1) Select the configuration from Carbide.c++, to do this right click on the project name from project window. 2) Select the properties. Now select "Carbide.c++" option. 3) Now you must see the "Build Configurations" under that. 4) Select the "Build Configuration" option and you will see following window.
Step 3 - Add the sis file to configuration
In this step we set the sis file and other necessary properties.
Now click on "Add" button a following form will popup.
Now we need to select many parameters here.
1) Select the PKG file which contains the SIS file creating information. Under "Signing Options" select "Sign SIS file with certificate/key pair".
When you get the developer certificate from Symbian you get two files "certificate" file having extension ".cer" and a key file with ".key" extension.
2) Now under field "Sign sis file name" mention the output file name that you desire. Usually "sisx" extension is used. 3) Next specify the "Password" which you received from "signing" authority such as "Trust Center". 4) Next specify the ".cer" file as certificate file and ".key" file as key file by browsing the appropriate location.
And we are done.Click "OK" button and "Apply" and then "OK" on subsequent dialog/form. Now when the project is "built" the sis file gets signed with the certificate you specified.
This small guide for the Carbid.c++ IDEs signing facility will help developers in configuring the project to generate device installable "sis" files.