Set the orapki binary to the path. You can find it under <Product_Home>/oracle_common/bin/orapki
set the JAVA_HOME
Create the wallet
orapki wallet create -wallet /tmp/certs -auto_login
Generate Key
orapki wallet add -wallet /tmp/certs -dn “CN=mwexpert.com, OU=PPP, L=MWExpertBase, O=Middleware, ST=Costa, C=US” -keysize 2048 -pwd P1ssw0rd
Generate CSR
orapki wallet export -wallet /tmp/certs -dn “CN=mwexpert.com, OU=PPP, L=MWExpertBase, O=Middleware, ST=Costa, C=US” -request /tmp/CSR
Add the signed cert to the wallet
orapki wallet add -wallet /tmp/certs -user_cert -cert /tmp/<signed_cert>.cert -pwd P1ssw0rd
Add any other trusted certificates to the wallet
orapki wallet add -wallet /tmp/certs -trusted_cert -cert /tmp/<trusted_cert>.txt -pwd P1ssw0rd
Display the wallet contents
orapki wallet display -wallet /tmp/certs