SSL Configuration in OHS 12c

2.5k Views Asked by At

In the past, my web application hosted in Weblogic 12c and OHS 12c, the url is http://serverName/webName

SSL is pretty new to me, now I managed to turn on

1. SSL in Weblogic, web application can access through https://serverName:7002/webName
2. SSL in OHS virtual host on port 4443, vertified using https://serverName:4443

Now I am having challenge making my web application accessible through https://serverName:4443/webName or https://serverName/webName. Need guidance on how to edit OHS configuration (ssl.conf, mod_wl_ohs.conf, httpd.conf, etc) to achieve above.

1

There are 1 best solutions below

2
On

You also need to enrich your mod_wl_ohs.conf with the following 2 directives : SecureProxy ON WLSSLWallet "/path/to/wallet/directory/as/defined/in/your/ssl/conf/file" You may find more details on these directives here : https://docs.oracle.com/cd/E28280_01/web.1111/e10144/directives.htm#CIHFAAJB

But if you would like for the "https://serverName/webName" to work, since the default port for SSL is 443, you need to change OHS listening port from 4443 to 443 inside ssl.conf