Generate a Certificate Signing Request (CSR) -
BEA Weblogic 6.0

To generate a CSR, a key pair must be created for the server. These two items are a digital certificate key pair and cannot be separated. If the public/private key file or password is lost or changed before the SSL certificate is installed, the SSL certificate will need to be re-issued. The private key, CSR, and certificate must all match in order for the installation to be successful.

We recommend that you contact the Weblogic vendor for additional information. 

Note: The recommended key bit size is 2048-bit. All certificates that will expire after December 31, 2013 must have a 2048 bit key size

Generate a Private Key and Certificate Signing Request

  1. Start the Certificate Request Generator servlet. The .war file for the servlet is located in the \wlserver6.0\config\mydomain\applications directory. The .war file is automatically installed when the WebLogic Server is started.

In a Web browser, enter the URL for the Certificate Request Generator servlet as follows:


The components of this URL are defined as follows:  

  • hostname: The DNS name of the machine running WebLogic Server 
  • port: The number of the port at which WebLogic Server listens for SSL connections. The default is 7002.

  1. The Certificate Request Generator servlet loads a form in the web browser.
  2. Complete the form displayed in the browser

This command will prompt for the following X.509 attributes of the certificate:

Country Name: Use the two-letter code without punctuation for country, for example: US or CA. 
State or Province: Spell out the state completely; do not abbreviate the state or province name, for example: California 
Locality or City: The Locality field is the city or town name, for example: Berkeley. 
Company: If the company or department has an &, @, or any other symbol using the shift key in its name, it must be spelled out or omitted in order to enroll. 
Example: XYZ Corporation 
Organizational Unit: This field is optional; but can be used to help identify certificates registered to an organization. The Organizational Unit (OU) field is the name of the department or organization unit making the request. 
Common Name: The Common Name is the Host + Domain Name. It looks like "" or "".

SSL certificates can only be used on Web servers using the Common Name specified during enrollment. For example, a certificate for the domain "" will receive a warning if accessing a site named "" or "", because "" and "" are different from "".

Please do not enter an email address, challenge password or an optional company name when generating the CSR.

  1. Click the Generate Request button.
  2. The key pair and CSR has been created.
  3. To copy and paste the information into the enrollment form, open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).
  4. Go to Enrollment