Can't install ssl certificate with orapki
716107Jan 12 2010 — edited Jul 5 2011Hi!
I've been having issues with the oracle wallet manager so was advised by oracle support to use orapki instead.
As the oracle user I did generated the certificate request in the following mannger:
orapki wallet create -wallet $ORACLE_HOME/wallet -pwd <<mypassword>>
orapki wallet add -dn <<mydn>> -keysize 1024 -wallet $ORACLE_HOME/wallet
orapki wallet export -wallet $ORACLE_HOME/wallet -dn <<mydn>> -request $ORACLE_HOME/wallet/newcrt.req
and then sent newcrt.req to the issuing authority.
They gave me four files in return:
mycertificate.crt
IPSServidores.cer
IPSCACLASEA1.cer
IPS-IPSCABUNDLE.cer (a bundle of the above 2 together)
I renamed the .cer files to be .crt files.
I then attempted the following (to add a trusted certificate):
orapki wallet add -wallet $ORACLE_HOME/wallet/ -trusted_cert -cert $ORACLE_HOME/wallet/IPSServidores.crt
I was asked for my password, which I typed in and then was confronted with the message:
Unable to load wallet at /opt/oracle/product/10.1.3.1/OracleAS_1/wallet/
Googling around led me to think that I had the password wrong, but this is almost impossible as I typed the commands into a txt file that I saved and just copied them into the command prompt so the line that I created the password on is still available for view.
What else could possibly be wrong? Thanks!!!