Solved

utl_http for https with a self signed certificate

Posted on 2011-02-14
4
1,366 Views
Last Modified: 2012-05-11
Can you use utl_http to call out over https to a web service that only uses a self signed certificate?  
0
Comment
Question by:melodi_roberts
  • 2
  • 2
4 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 34892104
Yes, it is possible.

If the SSL certificate is not signed by one of those common public CAs, you will need to import the additional certificate authority's certificate/chaim into your DB Servers wallet using Oracle Wallet Manager.
 
http://www.idevelopment.info/data/Oracle/DBA_tips/PL_SQL/PLSQL_19.shtml

Cheers,
Hades666
0
 

Author Comment

by:melodi_roberts
ID: 34892142
Thanks.  Will read the doc.  They sent us just one certificate and said it was self signed.  It sounds like I need the full chain and not just this one certificate.  I'm trying to get access to the site so I can take a look to see what they have set up and download the certificates myself.
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 34892163
Yes, if it is a self-signed, you will need to full chain imported. -Hades666
0
 

Author Comment

by:melodi_roberts
ID: 34897072
Just an additional note: This document/link covered most of what I already knew. I think my issue had/has more to do with learning what  a self-signed certificate is.  When I asked the third party for the certificate, they only sent the single certificate and after I couldn't connect using utl_http, noted that it was self signed.  We don't have direct access to the url, so there was no way for me to see how they might have their certificate set up.  I'm hoping I got the lingo right with them and they understand to send me the full chain now, or simply give me access to the site to get it myself.
Thanks for your help and feedback.
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 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

914 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