In this post, I will cover the steps required to generate and add self signed certs in OHS.
My OHS 12c is installed at
/app/oracle/deepakdubeyfusion
mkdir /var/oracle/deepakdubeywallets/
cd /var/oracle/deepakdubeywallets/
export JAVA_HOME=/app/oracle/deepakdubeyjava/jdk1.7.0_40/
/app/oracle/deepakdubeyfusion/oracle_common/bin/orapki wallet create -wallet /var/oracle/deepakdubeywallets/test1 -auto_login -pwd Welcome1
/app/oracle/deepakdubeyfusion/oracle_common/bin/orapki wallet add -wallet /var/oracle/deepakdubeywallets/test1 -dn cn=hostname.domainname.com -keysize 2048 -self_signed -validity 3650
/app/oracle/deepakdubeyfusion/oracle_common/bin/orapki wallet display -wallet /var/oracle/deepakdubeywallets/test1
then
in ssl.conf file add this line
uncomment the existing SSLWallet
SSLWallet "/var/oracle/deepakdubeywallets/test1"
restart the ohs server