Extracting Private Key and Certificate from Oracle Wallet


Extracting Private Key and Certificate from Oracle Wallet


In recent times I have received multiple requirements when we need to export certificates and keys and deploy it into other application.

Steps need to be followed –


1) First we need to extract the certificates:


openssl pkcs12 -in ewallet.p12 -out certificate.pem -nokeys


2) We need to extract the private key then :


openssl pkcs12 -in ewallet.p12 -out priv.pem -nocerts


Now if we have a certificate and need to create a new certificate file (pkcs12 format) using the extracted server certificate and key file then following command can help us :

3) openssl pkcs12 -export -in serv.pem -inkey priv.pem -out cert.p12


Making this auto-login wallet


4) orapki wallet create wallet path_to_keystore/folder_where_certs -auto_login


That was quick and easy. Keep Learning.
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