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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-29024: Certificate Validation Failure Error When Accessing Oracle Cloud Webservice

THIAGO PEREIRAJun 1 2024

Description

Hello everyone,

I am facing the ORA-29024: Certificate Validation Failure error when trying to access the Oracle Cloud webservice to fetch images from a Bucket.

Context:

Using APEX_WEB_SERVICE.Make_Rest_Request passing URL, Method, Body and Credential Id as parameters, I'm getting the error ORA-29024 when ORDS and Database is installed in different servers.

Test Environment (Works)

  • ORDS and Database (APEX) on the same server.
  • Web Credentials registered with the private key and API Key information obtained from my profile in Oracle Cloud.
  • Wallet created and certificate chain installed for HTTPS access to the Oracle site.
  • Wallet Path configured correctly in the APEX instance.
  • Everything works fine.

Production Environment (Error)

  • ORDS server separated from the Database.
  • Wallet created with the same certificates used in the test environment.
  • Wallet Path configured in the instance.
  • Same Web Credentials that its in Test Env.
  • Constantly receiving the "Certificate Validation Failure" error.

Steps Already Taken:

  1. Verified that the Wallet contains all necessary certificates.
  2. Confirmed that the Wallet Path is correctly configured in the APEX instance.
  3. Tested communication with Oracle Cloud from the production server, ensuring that network and access configurations are correct.
  4. Reinstalled everything from scratch on a new enviroment (using ords and db on same server) and works perfectly, but if I change ORDS to a separate server, the error appears.

Questions:

  • Has anyone experienced a similar issue and could share the solution?
  • Is there any additional specific configuration I need to perform in the production environment, considering ORDS is separated from the Database?
  • Any tips on additional diagnostics I can perform to identify the cause of the problem?

I appreciate any help or guidance you can offer!

Thank you!

This post has been answered by THIAGO PEREIRA on Jun 3 2024
Jump to Answer

Comments

Post Details

Added on Jun 1 2024
3 comments
891 views