Self-signed certificate with Demo DocusignAPI - self-signed

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.

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?

Related

Outgoing mail configuration: Redmine on Windows Server 2019

I'm trying to get the outgoing mail going on Redmine on Windows server 2019 (Bitnami stack), but it can't find the mail server certificate. Here's the error:
Email delivery error: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
I've installed the certificate on the server, but obviously Redmine (ActionMailer) is not finding it.
How can I make this certificate available to ActionMailer?
We've gotten around this before by using DAVMAIL and installing the certificate in the Java certificate store, but I think this should doable without resorting to that route.
Thanks!

Ruby RestClient SSL cannot verify

I was using app on two domains:
domain.com,
differentdomain.com
All calls from the app by RestClient was done on differentdomain.com. Right now i'm switching calls to domain.com because there is no need to have two different domains.
So i created subdomain different.domain.com. I have valid SSL certificate (with wildcard), properly set with nginx server.
When i enter different.domain.com in my browser i get page with valid ssl certificate. It's working ok without any bugs.
The problem is when i'm trying to call subdomain via RestClient. I'm getting this error:
RestClient::SSLCertificateNotVerified (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Do i need update cert/key somewhere else ?
Normally this SSL error indicates some issues in the certification installation such as missing intermediate certificate. You could verify your ssl certificate from https://www.ssllabs.com/ssltest/analyze.html
If you saw "Chain Issue: Incomplete", most likely you will need to re-install your intermediate certificate again (https://community.qualys.com/thread/11685)
give it a try.

OpenSSL::SSL::SSLError when GCM.send_notification

I'm using GCM gem to send push notifications to Android Devices. In production server, notifications are sent perfectly, but when I try to send push notifications in my local, I get the following error:
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
Note that GCM API KEY is set with the same key as production server, and I'm using the same send_notification params that production server. I also add my local IP address in Google Developer Console project credentials (daily updated).
What I am missing?
NOTE: Using RoR v3.2.13, Ruby v2.0.0, OSx El Capitan, and I have installed openssl v1.0.2a-1
Ok, the problem was that I haven't installed curl-ca-bundle, like many similar questions point. When I tried to install curl-ca-bundle with brew, I found that the package was removed. After a bit of research, I could install the ca-cert on my Mac following this steps.
Hope this help someone in future.

Keep getting OpenSSL::SSL::SSLError on one environment

I keep getting the following error using a Rails console to interface with a library that interfaces with a web service over HTTPS. The web service is up and works properly and all the other machines in my dev group can run the library appropriately except this one so I am about 99% sure it is a environment issue. I keep trying to figure out how to solve it and am stumped currently. The error I am getting is:
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I am using ruby-2.0.0-p653 and OpenSSL 0.9.8zg on Mac OSX El Capitan.

Why do I get "bad ecpoint" with OpenSSL::SSL::SSLError Stripe transaction?

I am building a Rails application with stripe integrated. I have everything setup except for when I try to carry out a transaction on my local development environment. I get:
SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint
I tried a lot of different things to get a valid SSL cert on my machine but nothing seems to be working.
It isn't anything to do with my setup because it is working fine on a test heroku server.
Any help would be greatly appreciated.
It typically happens when there are issues with the Ruby/OpenSSL integration. Try updating RVM and reinstalling the libs/ruby.
If you're still having issues, please list the OS, Ruby, OpenSSL and rvm/rbenv versions you're using.

Resources