I am trying to test DocuSign eSignature API using Oracle Application Express. I am getting an Oracle error: ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-29024: Certificate validation failure
I had the Oracle DBA install 3 DocuSign certificates to Oracle Wallet based on developer environment endpoints for authentication and REST API based on what I found Tfrom the following DocuSign’s webpage:
https://developers.docusign.com/docs/esign-rest-api/how-to/ :
https://account-d.docusign.com (This redirects to https://appdemo.docusign.com/home as well so I included this as well https://demo.docusign.net/
But I get the error when returning to my application (Redirect URI).
Please provide the specific certificates or the full URL so I can download the certificates myself.
Robert
The usual issue is that you haven't added the root certificate to your document store. For DocuSign, that's the DigiCert Root cert. See the DocuSign cert list
Added
Root certs refer to themselves in the Issuer section. For DocuSign, it's this DigiCert cert: https://www.docusign.com/sites/default/files/digicerthighassuranceevrootca_2.crt
You can check that you have the right cert by dumping it in text format, see below.
Here is the important part of the text dump, showing that the cert is the root cert (it references itself):
The complete cert dump
Added some more
You're still receiving a TLS-level
Certificate validation failure
from your framework... Some suggested next steps:Inspect the actual TLS protocol between the client (your app) and the server (DocuSign). Do this by capturing a trace file and reading it with WireShark. The WireShark wiki includes instructions on how to obtain traces.
It could be a different type of cert issue such as supported ciphers not matching.
It could also be some level of misconfiguration. For example, is your app framework using TLS 1.2? DocuSign does not support TLS 1.0 (or 1.3). And TLS 1.1 is on the way out.
One common issue is that many frameworks don't provide good specifics when there is a problem at the TLS level.
If you're still stuck, open a support ticket with DocuSign's developer support group. (But their first request to you, given your investigation so far, will be to request a TLS-level trace.)