Solved

UTL_HTTP.REQUEST URL authentication

Posted on 2013-11-08
1
2,027 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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Join SQL view with APEX item as the join condition 4 47
SQL query of Oracle 10g database. 8 75
Get the parent node - XMLTYPE 9 56
su - oracle could not open session 6 47
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

930 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

11 Experts available now in Live!

Get 1:1 Help Now