Solved

UTL_HTTP.REQUEST URL authentication

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many‚Ķ
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to take different types of Oracle backups using RMAN.

777 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