TechBull

A Medium publication sharing articles on latest technology by Developers and DevOps community

Follow publication

Extracting Private Key and Certificate from Oracle Wallet

Arun Kumar Singh
TechBull
Published in
1 min readJul 1, 2019

--

Handling oracle wallet is quite easy and well documented on Oracle support. In recent times I have received multiple requirements when we need to export certificates and keys and deploy it into other application. I tried to collect some the steps which I have followed to do the same.

Steps need to be followed –

First we need to extract the certificates:

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

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 :

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

Making this auto-login wallet

orapki wallet create wallet path_to_keystore/folder_where_certs -auto_login

That was quick and easy. Keep Learning.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

TechBull
TechBull

Published in TechBull

A Medium publication sharing articles on latest technology by Developers and DevOps community

Arun Kumar Singh
Arun Kumar Singh

Written by Arun Kumar Singh

In quest of understanding How Systems Work !

Responses (1)

Write a response