SSL - Convert pfx to oracle ewallet



Step 1 to Step 6 are specific to the client & NOT GENERIC.

 Step 1: Change PFX TO JKS Format
 
keytool -v -importkeystore -srckeystore myapp.com.pfx -srcstoretype PKCS12 -destkeystore myapp.jks -deststoretype JKS

 output:

[applmgr@host1 Certs]$ keytool -v -importkeystore -srckeystore myapp.com.pfx -srcstoretype PKCS12 -destkeystore myapp.jks -deststoretype JKS

Enter destination keystore password: changeit

Re-enter new password: changeit

Enter source keystore password: Welcome!23456

Entry for alias myapp.com successfully imported.

Import command completed:  1 entries successfully imported, 0 entries failed or cancelled
 
Step 2: find the alias name from the jks file

keytool -list -v -keystore myapp.jks
 
Step3: Password of JKS and key file should be same .so set the password as “changeit”

keytool -keypasswd  -alias myapp.com -keystore myapp.jks -storepass changeit

Output:

[applmgr@host1 Certs]$  keytool -keypasswd  -alias myapp.com -keystore myapp.jks -storepass changeit
Enter key password for <myapp.com>  Welcome!23456
New key password for < myapp.com>: changeit
Re-enter new key password for < myapp.com>: changeit
 
Step 4: Create a wallet using orapki command.Please make sure you are using wallet from FMW_HOME.

$FMW_HOME/oracle_common/bin/orapki wallet create -wallet . -auto_login

 Step 5:Convert JKS to wallet by using below command.

$FMW_HOME/oracle_common/bin/orapki wallet jks_to_pkcs12 -wallet ./ -pwd UYDK4TRQ -keystore ./myapp.jks -jkspwd changeit

 Step 6 - Verify the imported certificate

 $FMW_HOME/oracle_common/bin/orapki wallet display -wallet ./
appsdbahelp

17+ years of experience in Oracle Database, Oracle Cloud Infrastructure(OCI), Oracle EBS on Cloud, Oracle E-Business Suite, DevOps tools, Oracle WebLogic, Oracle Application Server, Oracle Access Manager and various Operating System flavors including Redhat Linux, UNIX (Solaris, HP-UX) and Windows. Expert in Oracle9i/10g/11g/12c/19c database administration, upgrade, configuration and tuning. Experience in Oracle E-Business Suite technological stack, including architecture, installation, configuration, maintenance, tuning, cloning and patching procedures. Expert in Oracle Cloud Infrastructure(OCI), Oracle EBS On Cloud and Oracle EBS Cloud Manager Experience with Oracle Cloud Solution and Expert of Oracle ERP/Oracle HCM Cloud deployment Experience in Terraform, JSON and chef cloud infrastructure automation framework Knowledge of ASM, Data Guard, Real Application Cluster, Exadata and Exalogic Knowledge of Oracle Enterprise Manager(OEM) Grid Control, Oracle WebLogic, Oracle Internet Directory, Oracle Access Manager and Apache Ability to analyze problem, develops solutions and bring program/project execution to completion.

Post a Comment

Previous Post Next Post