?
Solved

utl_http for https with a self signed certificate

Posted on 2011-02-14
4
Medium Priority
?
1,539 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

839 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