Self-signed certificate with Demo DocusignAPI

2019-08-28 20:51发布

问题:

I am trying to test my app with the Demo DocusignAPI at using the endpoint https://demo.docusign/net/restapi/v2/

Question: Is a self-signed SSL certificate acceptable when using the Demo endpoint?

I ask because when I try to use the create_envelope_from_document call, I get the following error message, and I'm trying to determine if my use of a self-signed certificate is contributing to the error:

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed)

I am using ruby 1.9.3 and rails 3.2.13 on Ubuntu 12.04.

回答1:

Are you talking about including an SSL cert for the event notifications? The only mention I see from their documentation when I search for "SSL" is the

signMessageWithX509Cert

property on the eventNofication object. This can be viewed on several of their api guide pages like this one.

In any case, with all of the comments that have come in on this thread so far I believe your issue is related to your certificates and not with the DocuSign API. Were you able to resolve this yet?