Home Symbian patched Makekeys, now we can have self-signed certificates valid for 10 years
Post
Cancel

Symbian patched Makekeys, now we can have self-signed certificates valid for 10 years

I don’t know how this got past me. Luckily I found out that Symbian has patched the makekeys.exe. The new one allows you to create self-signed certificates which can be valid for 10 years. I know that there are a lot of people like me whe are still using the old S60 3.0 MR SDK for maximium compability, which gives you certificates valid for only one year. This reminders me that the AntSnes certificate will end up soon, so I should at least sign it with the newer certificate.
You should get the newer makekeys tool with new Symbian SDK’s. However, I didn’t get newer one with S60 3rd edition FP1 even when it should be using Symbian 9.2. So I guess that Nokia forgot to patch this tool into their SDK.
If you didn’t get the new makekeys.exe from you new SDK you can download it from Symbian website. Enjoy!
Using the new makekeys.exe:

1
2
makekeys -cert \[**-expdays |cert-expiry-in-days|**\]\[-password |password|\] \[-len \[key-length|\] -dname |distinguised-name-string| |priv  
ate-key-file| |public-key-cert|  

Notes:
For -cert if the private-key-file does not exist it will be created
Distinguished name string format:
CN – Common Name, e.g. CN=Joe Bloggs
CO – Country, e.g. CO=GB
OR – Organisation, e.g. OR=Acme Ltd
OU – Organisational Unit, e.g. OU=Development
EM – E-Mail address, e.g. [email protected]
A distinguished name strings needs at least two attributes
Certificate expiry date(in days) can be specified by the user (optional) , else defaults to a year.
Example Usage for creating a certificate valid for 10 years:
makekeys -cert -expdays 3650 -password yourpassword -len 2048 -dname “CN=Joe Bloggs OU=Development OR=Acme Ltd CO=GB [email protected]” mykey.key mycert.cer
Now you don’t have to sign you app again each year!

This post is licensed under CC BY 4.0 by the author.

Generic Makefile Build Chain for Symbian OS With GCCE and MinGW

PSX4All running on Symbian

Comments powered by Disqus.