Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Configuring SSL for applications on APEX (Using Tomcat and ORDS)

Hi,

Hope you are all doing great!

I have new task of configuring SSL for apex.

The architecture is as follows.

  1. APEX running on Oracle database with version 23.1.3 on linux
  2. Tomcat (9.0.46) Running on windows
  3. ords with version 20.2.1.r227035

I have sucessfully configured SSL for Tomcat (by editing Server.xml). I can reach the tomcat apache on SSL.

<Connector
port="443"
protocol="org.apache.coyote.http11.Http11NioProtocol"
SSLEnabled="true" scheme="https" secure="true"
maxHttpHeaderSize="8192"
maxThreads="200" minSpareThreads="10"
enableLookups="false"
disableUploadTimeout="true"
acceptCount="100"
acceptorThreadCount="2"
compression="on"
URIEncoding="UTF-8"
>
<SSLHostConfig>
<Certificate
certificateKeystoreFile="somepath\qwas.pfx"
certificateKeystorePassword="******"
certificateKeystoreType="PKCS12"
/>
</SSLHostConfig>
</Connector>

But after editing web.xml in the same location, i get 500 error when accessing applications deployed on APEX.

<security-constraint>

<web-resource-collection>

<web-resource-name>webapps</web-resource-name>

<url-pattern>/*</url-pattern>

<http-method>GET</http-method>

</web-resource-collection>

<user-data-constraint>

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

</user-data-constraint>

</security-constraint>

Am i missing any thing here?

the error is

Comments
Post Details
Added on Oct 24 2023
10 comments
3,247 views