How to get started with a SSL Certificate for BEA Systems WebLogic 8.1 ?
To generate a CSR, you will need to create a key pair for your server. These two items are a digital certificate key pair and cannot be separated. If you lose your public/private key file or your password and generate a new one, your SSL Certificate will no longer match. You will have to request a new SSL Certificate and may be charged.
BEA Weblogic 8.1 utilizes the java keytool command line utility to create the CSR and install the SSL certificate. We recommend that you contact the BEA directly for additional information. Two methods are available:
Create a CSR with our Keytool Command-Line CSR Generator
1. Launch Keytool.
2. Save yourself a lot of time and typing by using our Keytool Command-Line CSR Generator to generate your command-line.
3. Copy/paste this command-line in Keytool and your CSR will be saved to SSL247CSR.csr.
4. Open the file with Notepad or Wordpad and copy/paste its entire contents (including tags -----BEGIN CERTIFICATE----- et -----END CERTIFICATE-----) in our order form.
Create a CSR with JDK 1.4
Step 1: Generate a Keystore and Private Key
- 1. Create a certificate keystore and private key by executing the following keytool command:
- The keytool utility is located in your JDK’s “\bin” directory
C:\bea\jdk\bin\keytool -genkey -alias <your_alias_name> -keyalg RSA -keystore <your_keystore_filename> -keysize 2048
- 2. Specify a password. The default value will be "changeit".
Step 2: Generate a CSR
- 1. The CSR is then created using the following command:
C:\bea\jdk\bin\keytool -certreq -keyalg RSA -alias <your_alias_name> -file certreq.csr -keystore <your_keystore_filename>
This command will prompt for the following X.509 attributes of the certificate:
First and Last Name (Common Name) – Must match the URL you plan to secure exactly – is usually your fully-qualified domain name, e.g., devel.ssl247.co.uk or mail.devel.ssl247.co.uk). Remember the www. Is important – include it if you want to secure https://www.yoursite.com & exclude it if you want to secure https://yoursite.com
Organisation - The legal (officially registered) name of your organization/company include Inc., LLP., Pvt, Plc. Ltd. SARL., etc
Organisational unit - The name of your department within the organization (this is often "IT," "Web," or is just left blank).
City/locality - The city or town in which your organization is located.
State/province - The state in which your organization is located.
Country - Click here for the official list of ISO country codes for this field.
Note: Certificates can only be used on Web servers using the Common Name specified during enrollment. For example, a certificate for the domain "domain.com" will receive a warning if accessing a site named "www.domain.com" or "secure.domain.com", because "www.domain.com" and "secure.domain.com" are different from "domain.com"
- 2. To copy and paste the file certreq.csr into the enrollment form, open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).