Solved

utl_http for https with a self signed certificate

Posted on 2011-02-14
4
1,355 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 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, 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.
This video shows how to recover a database from a user managed backup

760 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

20 Experts available now in Live!

Get 1:1 Help Now