Namespaces
Variants
Actions

Create a certificate using OpenSSL

Jump to: navigation, search
Article Metadata

Article
Created: mgroeber9110 (23 Mar 2007)
Last edited: hamishwillee (18 Jul 2012)

How to: create a self-signed certificate using OpenSSL

If you want to create a self-signed certificate with validity periods other than 1 year, or with additional information about yourself, you can use a tool such as Open SSL to create it, rather than the standard MakeKeys utility that comes with the SDK.

The following commands, which are based on the suggestions given here, show how to create a self-signed key/certificate pair with a lifetime of 10 years:

openssl genrsa 1024 >selfsigned.key
openssl req -new -x509 -nodes -sha1 -days 3650 -key
    selfsigned.key >selfsigned.cer

After entering the second command, you are prompted for various bits of information about yourself that is embedded into the certificate. This process only needs to be performed once, and the generated certificate can then be kept for future use with CreateSIS or SignSIS.

This page was last modified on 18 July 2012, at 09:52.
221 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved