how to import certs to oracle http server wallet using orapki

On a day to day operation we may need to update Oracle http server certiifcates . We will see here how to add the certs using ohs orapai to the wallet .

First we need to set the java home

export JAVA_HOME=/p01/java8_64

Import the root certificate first to wallet. Go to oracle_common/bin where we have orapki installed.

./orapki wallet add –wallet –trusted_cert –cert –pwd

ex : ./orapki wallet add –wallet /p01/ssl/ohs –trusted_cert –cert /tmp/root.cer –pwd 12345678

Import the intermediate certificate to wallet

./orapki wallet add –wallet –trusted_cert –cert –pwd

eg : ./orapki wallet add –wallet /p01/ssl/ohs –trusted_cert –cert /tmp/intermediate.cer –pwd 12345678

Import the public certificate to wallet

./orapki wallet add –wallet –trusted_cert –cert –pwd

eg : ./orapki wallet add –wallet /p01/ssl/ohs –trusted_cert –cert /tmp/public.cer –pwd 12345678

Verify the certificate import is added properly to wallet by using the display option

./orapki wallet display –wallet /p01/ssl/ohs

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *