To Generate a Certificate Signing Request (CSR) perform the following steps:
Step 1: Generate a Keystore and Private Key
C:\bea\jdk\bin\keytool -genkey -alias <your_alias_name> -keyalg RSA -keystore <your_keystore_filename>
Step 2: Generate a CSR
C:\bea\jdk\bin\keytool -certreq -keyalg RSA -alias <your_alias_name> -file certreq.csr -keystore <your_keystore_filename>
Note: When generating a CSR, enter the domain of your website (i.e. www.mysite.com) in the "first- and lastname" field.