×
Namespaces

Variants
Actions

Archived:Self-signed certificates expire after one year (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
Code Example
Source file: Media:Makekeys.zip
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, Feature Pack 1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (08 Feb 2008)
Last edited: hamishwillee (19 Jun 2012)

Description

The makekeys utility in S60 3rd Edition/FP1 SDKs sets the expiry period of self signed certificates it creates to one year by default. After one year, SIS packages signed with this certificate can no longer be installed.

There is an updated version of the makekeys utility that allows changing the expiry period. However, this version is available after 3rd Edition, Feature Pack 2.

Solution

When creating the private key and certificate used for self-signing, use a version of makekeys that recognizes the expdays command line parameter for setting the expiry period in days.

For example:

 makekeys -cert -expdays 7300 -password secretpassword -len 2048 -dname
          "CN=Test User OU=Development OR=Company CO=FI EM=test@company.com"
          mykey.key mycert.cer


S60 3rd Edition, Feature Pack 2 SDK already has this version of makekeys.

For previous SDK versions, this version can be downloaded from File:Makekeys.zip.

This page was last modified on 19 June 2012, at 08:03.
40 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.

×