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

First Blog Post!

This is my first blog and first blog post. this is going to be the place where i will be sharing all my knowledge on web and applicaiton servers i work.