Solved

UTL_HTTP.REQUEST URL authentication

Posted on 2013-11-08
1
1,987 Views
Last Modified: 2013-11-18
I imported the certificate to mydomain.com in oracle wallet manager, besides the certificate, i have to login to mydomain.com with a username / password


When I use

SELECT UTL_HTTP.REQUEST(url => 'https://app.mydomain.com/api/v2/app?format=XML',proxy => null,wallet_path =>'file:/home/oracle/app/oracle/product/12.1.0/dorasnat/owm/wallets/oracle',wallet_password => 'mypass') FROM DUAL;

Open in new window


I get

ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1720
ORA-29024: Certificate validation failure
ORA-06512: at line 1
29273. 00000 -  "HTTP request failed"
*Cause:    The UTL_HTTP package failed to execute the HTTP request.
*Action:   Use get_detailed_sqlerrm to check the detailed error message.
           Fix the error and retry the HTTP request.

Open in new window


where in the process do i input the credentials so that i can get to the XML feed?
0
Comment
Question by:FutureDBA-
1 Comment
 
LVL 12

Accepted Solution

by:
praveencpk earned 500 total points
ID: 39635627
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now