Generate CSR Instructions: BEA WebLogic Server 10
Follow these instructions to generate a Private Key and CSR for your Web site.
- Using the java keytool command
line utility, the first thing you need to do is create a keystore and
generate the key pair. Do this with the following command:
keytool -genkey -keysize 1024 -keyalg RSA -alias tomcat -keystore mystore - You will be prompted for a password.
- The next field that you will be prompted for is "What is your first and last name?" At this prompt, you must specify the Common Name (e.g., www.mysite.com) of your web site, not your real first and last name.
- You will then be prompted for your organizational unit, organization, etc.
- When generating the keypair you must follow these conventions. Enter the information
to be displayed in the certificate. The following characters cannot
be accepted: < > ~ ! @ # $ % ^ / \ ( ) ? , &
CSR Input Fields Field Explanation Example Common Name (CN)
(host name, FQDN, etc.)The fully qualified domain name for your web server. This must be an exact match. If you intend to secure the URL https://www.domain.com, then your CSR's common name must be "www.domain.com".
For https://secure.domain.com it must be "secure.domain.com".
For just https://domain.com it must be just "domain.com".
For https://owa.mailserver.net it must be "owa.mailserver.net".
A Wildcard for https://sub.primary-domain.com must be "*.primary-domain.com". The asterisk must be included for Wildcard CSR's.Organization (O) The exact legal name of your organization. Do not abbreviate your organization name. Metro Realty LLC or Flowers by Jenny Organizational Unit (OU) Section of the organization Sales Division or IT or Marketing City or Locality (L) The city where your organization is legally located. Cannot be abbreviated. Boston State (S) or Province The state or province where your organization is legally located. Cannot be abbreviated. Massachusetts Country (C) The two-letter ISO abbreviation for your country. US, CA, GB, (must be two-letters) Email Any email address. This field is arbitrary but must be filled in. GeoTrust will not use this email address to process your order. user@domain.com Key Bit Length The key bit length has to do with the initial key exchange, not the encryption strength of your certificate. GeoTrust recommends a key bit length of at least 1024 - Now generate the Certificate Signing Request (CSR) from
the private key generated above using the following command:
keytool -certreq -alias tomcat -file yourdomain.csr -keystore mystoreThis creates a CSR and stores it in a file namedyourdomain.csr. - Save a copy of your CSR. The CSR will be needed during the purchase
process. You'll be asked to copy-and-paste
your CSR into a special CSR box.
Below is an example of what your CSR will look like. This is a example only and cannot be used to generate your SSL certificate.-----BEGIN CERTIFICATE REQUEST----- MIIB3zCCAUgCAQAwgZ4xCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdHZW9yZ2lhMRAw DgYDVQQHEwdBdGxhbnRhMREwDwYDVQQKEwhHZW9DZXJ0czEaMBgGA1UECxMRSW5l cm5ldCBNYXJrZXRpbmcxGTAXBgNVBAMTEHd3dy5nZW9jZXJ0cy5jb20xITAfBgkq hkiG9w0BCQEWEmFkbWluQGdlb2NlcnRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEA5KOi+RnRzBuBQeFYjrwZg1sfT7zr4L8j0Khuoj621x+lGBmFC76c kGclUIQBmuyp9T9NrNqAjGtEmgdFr6cWLJtgXgi+BaZDLX9BMYF49NuTggNoEUMX crQRAENHb2YthG2SEcF5p98RNcDPzWOA3a4AMvgkxDlDGYUhbcQhnt0CAwEAAaAA MA0GCSqGSIb3DQEBBAUAA4GBAIapt6Tw0BTYUwEAX0/oKvaaN/ghErR85jdW7xOD b1hL0yNfb495A7e/IQyBEP5a/v+QUOtibHS4geiPhH9etAI+DSQmctjbf6dMGJql gCXGwlsTbjPOSmNT+/X2Uvf1BlplwqAMDghEuFHsjshlypz1NEg94ri2K9N1VrBs
+iAv
-----END CERTIFICATE REQUEST-----
Learn more about Obtaining Private Keys, Digital Certificates, and Trusted Certificate Authorities for Weblogic 10.
Learn more about Storing Private Keys, Digital Certificates, and Trusted Certificate Authorities for Weblogic 10.






bitscan™