It is easier to digitally sign your files in IEAK 5 because the IEAK Wizard does it for you automatically. During stage 3 of the IEAK Wizard, on the "Digital Signatures" screen, you can point to your public and private keys. The necessary files are digitally signed when you complete your build.
You can obtain your public and private keys from a third-party Certificate provider, or you can create your own by using Certificate Services from Windows 2000 Server.
To use Certificate Services to sign IEAK files:
- Install Certificate Services by using the Add/Remove Programs tool in Control Panel.
- After you install and configure Certificate Services, browse to http://servername/certsvr by using Microsoft Internet Explorer.
- Click Request a Certificate, and then click Next.
- Click Advanced Request, and then click Next.
- Click Submit a certificate request to this CA using a form, and then click Next.
- Type your information, name, e-mail address, on so on, in the form.
- In the Intended Purpose box, click Code Signing Certificate.
- Click to select the Mark keys as exportable and Export keys to file check boxes.
- Specify the location of your file, which will be a .pvk file. Make sure to specify the explicit file location. for example: C:\Filename.pvk.
- Leave the other options set to the default values unless you have a reason to modify them.
- Click Submit. You are then prompted for a password. After you specify a password, click OK.
This process creates the private key (.pvk file) that you specified when you created the certificate. You must also obtain the public key by having your administrator issue the certificate.
If you have administrative access to Certificate server, you can issue your certificate by following these steps:
- Click Start, point to Programs, point to Administrative Tools, and then click Certificate Authority.
- Access the pending requests on the Certificate server. Right-click the pending request, point to All Tasks, and then click Issue. This causes the certificate to be issued, but you must still export the certificate to a file.
- Access the Issued Certificates folder, right-click your certificate, and then click Open.
- On the Details tab, click Copy to file.
- In the Certificate Export Wizard, click Next.
- The default setting is acceptable, unless you have a reason to customize it. Click Next.
- You are prompted to choose a location in which to save the file. It is saved in either .cer or .p7b format.
- After you save the file, change the extension from either .cer or .p7b to .spc.
You now have the necessary keys (both .spc and .pvk files) to use in the IEAK Wizard so that it can automatically sign your files.