Skip to Main Content

SQL & PL/SQL

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.

How to connect to an API end point that requires mTLS certificate via UTL_HTTP

Hi,

I'm stuck with an issue whereby i have to send over an mTLS certificate in order to connect to an API end point (https://eqapi.uat.equateplus.com/statistics) via UTL_HTTP script on Oracle 19c database.

Every time i make a call to the end point via UTL_HTTP, i'm getting an error ORA-29268: HTTP client error 403 - Forbidden.

I was able to reach their endpoint, but the server refused the connection because the mTLS certificate was not present.

I was able to make a connection via Postman by attaching the .pfx as well as curl command by converting the .pfx into .pem by executing the command below:

  curl --proxy XXXX-proxy.uk.XXXX.local:XXXX \\  
 --location 'https://eqapi.uat.equateplus.com/statistics' \\  
 --header 'Content-Type: application/json' \\  
 --cert public\_certificate.pem \\  
 --key my-key-keypair.pem  
 Enter PEM pass phrase:

How can i resolve this issue? I have tried this Doc ID 2890187.1 on Oracle support but it is not working?

Thanks & Regards,

Aizat

Comments
Post Details
Added on May 16 2025
6 comments
313 views