CREATING ORACLE WALLET AND CERTIFICATE SIGNING REQUEST IN ORACLE OHS 12C USING COMMAND LINE INTERFACE orapki

CREATE A DIRECTORY WHERE YOU WILL SAVE YOU WALLET.

I have created  “wallet”   DIRECTORY UNDER ORACLE_HOME BY USING FOLLOWING COMMAND  <mkdir /u01/oracle/wallet>

RUN  SetDomainEnv.sh  SCRIPT THAT YOU WILL FIND  UNDER DOMAIN_HOME/bin  FOLDER

./setDomainEnv.sh

TO  CREATE A WALLET UNDER /u01/oracle/wallet  RUN THE FOLLOWING COMMAND  <u01/oracle/oracle_common/bin/orapki wallet create -wallet /u01/oracle/wallet -pwd Spring2016>

REMOVE DEFAULT CERTIFICATE FROM THE WALLET USING FOLLOWING COMMAND

/u01/oracle/oracle_common/orapki wallet remove -trusted_cert_all -wallet /u01/oracle/wallet

DISPLAY THE WALLET USING FOLLOWING COMMAND AND WALLET SHOULD BE EMPTY

</u01/oracle/oracle_common/orapki/ wallet display -wallet /u01/oracle/wallet

CREATE CSR  USING orapki COMMAND

</u01/oracle/oracle_common/orapki wallet add -wallet /u01/oracle/wallet/ -dn “CN=host01.lucknow.com,OU=Distributed,O=Business ,L=Atlanta,S=GA,C=US” -keysize 2048 -validity 1024

EXPORT CSR TO BE SIGN FROM SIGNING AUTHORITY

<./orapki wallet export -wallet /u01/oracle/wallet -dn “CN=host01.lucknow.com,OU=Distributed,O=Business,L=Atlanta,S=GA,C=US” -request ./host01.lucknow.com.csr

ONCE YOU RECEIVE THE SIGNED CERTIFICATE FROM YOU TRUSTED AUTHORIGHTY THEN ADD THAT CERTIFICATE IN THE WALLET

</u01/oracle/oracle_common/orapki wallet add -wallet /u01/oracle/wallet -user_cert -cert /u01/oracle/wallet/host01.lucknow.com.txt

Leave a Reply