How to generate 2048-bit keypair using Sun One or iPlanet 6.1 servers?

  1. Log on to the web server that you want to create the CSR for.
  2. Open a command prompt and go to the Sun One Webserver admin bin directory (i.e. c:\Sun\WebServer6.1\bin\https\admin\bin)
  3. Run the following command:

    certutil -R -s “CN=www.mywebsite.com,OU=Test,O=India,L=Mumbai,ST=MAH,C=IN” -a -o mycsr.csr -k rsa -g 2048 -v 12 -d (location of Sun One WebServer directory)\alias -P https-www.mywebsite.com-www- -Z SHA1
     

Note: Change the value of CN, OU, O, L, ST and C fields appropriately to suit your website and company. Change the value of the -P option to suit the web instance (i.e. c:\Sun\WebServer6.1\alias).

This will generate the files https- http://www.mywebsite.com-www-cert8.db and https- http://www.mywebsite.com-www-key3.db files.  The output file, mycsr.csr, will be the certificate signing request file.

Advertisements

About itmiddleware
Working as Sr Software Engineer for reputed MNC Bank on Web and Middleware

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: