STEP 1
The first step is to generate private and public keys make use of Keytool in order to generate this key pair.
cd C:\Program Files\Java\jdk1.8.0_211\bin>
keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore keystore.jks
Enter keystore password:
Re-enter new password:
What is your first and last name? [Unknown]: wls12c.xxxx.com
What is the name of your organizational unit? [Unknown]:
What is the name of your organization? [Unknown]:
What is the name of your City or Locality? [Unknown]: kuwait
What is the name of your State or Province? [Unknown]:
What is the two-letter country code for this unit? [Unknown]: KW
Is CN=wls12c.xxxx.com, OU=Unknown, O=Unknown, L=kuwait, ST=Unknown, C=KW correct?
[no]: yes
STEP 2
Generate CSR format file and send it to the respective provider or Certificate Authority for signed certificate creation.
keytool -certreq -alias server -file wls12c.xxxx.com.csr -keystore keystore.jks
STEP 3
Once the Certificate Authority has created and delivered the corresponding signed certificate, import into JKS.
For p7b Format :
keytool -import -alias server -trustcacerts -file wls12c.xxxx.com.p7b -keystore keystore.jks
Importing individual Certs in following Sequence Root Certificate
|
Intermediate Certificate
|
Server Certificate
Root Cert :
keytool -import -alias rootCA -trustcacerts -file ROOTCERTCA.crt -keystore keystore.jks
Intermediate Cert :
keytool -import -alias InterCA -trustcacerts -file InterCA.crt -keystore keystore.jks
- Create WALLET
- Backup Default folder.
- Create empty folder name it as default
- Create Wallet
- Make sure wallet path and Listen port is properly updated in ssl.conf file.
- Once Certificate is imported to Wallet - Restart OHS Service
No comments:
Post a Comment