Create Identity Store with Trusted Certificates Issued by CA (2024)

This topic provides the information to create Identity Store with Trusted Certificates Issued by CA.

Create Public and Private Key Pair

Browse to the bin folder of JRE from the command prompt and type the following command. The items highlighted are placeholders, and should be replaced with suitable values when running the command.

Table 3-3 Keyword Description

Keyword Description
alias Used to identify the public and private key pair created.

This alias is required later when configuring the SSL attributes for the managed servers in Oracle WebLogic Server.

keyalg It is a key algorithm used to generate the public and private key pair.

The RSA key algorithm is recommended.

keysize It is the size of the public and private key pairs generated.

A key size of 1024 or more is recommended. Please consult with your CA on the key size support for different types of certificates.

sigalg It is the algorithm used to generate the signature.

This algorithm should be compatible with the key algorithm and should be one of the values specified in the Java Cryptography API Specification and Reference.

valdays It is the number of days for which the certificate is to be considered valid.

Please consult with your CA on this period.

keystore It is used to specify the location of the JKS file.

If no JKS file is present in the path provided, one will be created.

The command prompts for the following attributes of the certificate and keystore:

Table 3-4 Attribute Details

Attributes Description
Keystore Password Specify a password used to access the Keystore.

This password needs to be specified later, when configuring the identity store in Kafka server.

Key Password Specify a password used to access the private key stored in the Keystore.

This password needs to be specified later, when configuring the SSL attributes of the managed server(s) in Oracle WebLogic Server.

First and Last Name (CN) Enter the domain name of the machine used to access Oracle Banking Supply Chain Finance. For example, www.example.com.
Name of your Organizational Unit The name of the department or unit making the request. For example, BDP.

Use this field to further identify the SSL Certificate for creating. For example, by department or by physical server.

Name of your Organization The name of the organization making the certificate request. For example, Oracle Financial Services.

It is recommended to use the company or organization's formal name, and this name entered here must match the name found in official records.

Name of your City or Locality The city in which your organization is physically located. For example, Mumbai.
Name of your State or Province The state/province in which your organization is physically located. For example, Maharashtra.
Two-letter Country Code for this Unit The country in which your organization is physically located. For example, US, UK, IN, etc.

The sample execution of the command is listed below:

D:\Oracle\WebLogic11g\jrockit_160_05_R27.6.2-20\bin>keytool -genkeypair -alias cvrhp0729 -keyalg RSA -keysize 1024 -sigalg SHA1withRSA -validity 365 -keystoreD:\keystores\AdminOBSCFKeyStore.jksEnter keystore password: <Enter a password to protect the keystore>Re-enter new password: <Confirm the password keyed above>What is your first and last name? [Unknown]: cvrhp0729.i-flex.comWhat is the name of your organizational unit? [Unknown]: BPDWhat is the name of your organization? [Unknown]: Oracle Financial ServicesWhat is the name of your City or Locality? [Unknown]: MumbaiWhat is the name of your State or Province? [Unknown]: MaharashtraWhat is the two-letter country code for this unit? [Unknown]: INIs CN=cvrhp0729.i-flex.com, OU=BPD, O=Oracle Financial Services, L=Mumbai, ST=Maharashtra, C=IN correct? [no]: yesEnter key password for <cvrhp0729>RETURN if same as keystore password): <Enter a password to protect the key>Re-enter new password: <Confirm the password keyed above>

Generate CSR

To purchase an SSL certificate, the user must generate the CSR for the server where the certificate will be installed.

A CSR is generated from the server and is the server's unique fingerprint. The CSR includes the server's public key, which enables server authentication and secure communication. If the keystore file or the password is lost and a new one is generated, the SSL certificate and the private key will no longer match. A new SSL Certificate will have to be requested.

The CSR is created by running the following command in the bin directory of the JRE:

keytool -certreq -alias alias –file certreq_file -keystore keystore

Table 3-5 Keyword Description

Keyword Description
alias Used to identify the public and private key pair created.

The private key associated with the alias will be utilized to create the CSR. Specify the alias of the key pair created in the previous step.

certreq_file It is the file in which the CSR will be stored.
keystore It is the location of the keystore containing the public and private key pair.

The sample execution command is listed below:

D:\Oracle\WebLogic11g\jrockit_160_05_R27.6.2-20\bin>keytool -certreq -alias cvrhp0729 -file D:\keystores\certreq.csr -keystoreD:\keystores\AdminOBSCFKeyStore.jksEnter keystore password: <Enter a password to protect the keystore>Enter key password for <cvrhp0729>[Enter the password used to access the key in the keystore]

Parent topic: Obtain the Identity Store

Create Identity Store with Trusted Certificates Issued by CA (2024)

References

Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6152

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.