Thursday, 20 July 2017

Oracle Apex Via HTTPS
Download and install Apache Tomcat
keytool: we will generate secure key using keytool command – which is key and certificate management tool.
Open Command Prompt 
Command:
"[Java Path]\bin\keytool" -genkey -alias tomcat -keyalg RSA -keystore “D:\mykey.keystore”
So replace your path accordingly
Change server.xml file which is located at <tomcat_home>/conf/ folder
Search  
SSLEnabled="true" 
Uncomment the SSL Connector Configuration

When you are done your Connector Should look something like this:
<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
keystoreFile="D:\mykey.keystore"
keystorePass="123456"
clientAuth="false" sslProtocol="TLS" />

Save the changes to server.xml
Restart tomcat service 
---------------------------------------------------------------------------------------------------------
Change Oracle Apex port
java -jar ords.war standalone --port 8443
Now Copy Image folder from apex folder and Paste it into C:\Apache Software Foundation\Tomcat 7.0\Webapps\i
Note : i is a folder name you have to create it into C:\Apache Software Foundation\Tomcat 7.0\Webapps
Now Copy ords.war from ords folder and past it into C:\Apache Software Foundation\Tomcat 7.0\Webapps
Restart tomcat service
Now hit HTTPS secure URL again to check you page loaded successfully: https://localhost:8443/f?p=4500

No comments:

Post a Comment