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!
Related
I have ROR application deployed on multiple EC2 instances in production, some are on Ubuntu
14.04.5 LTS and some on Ubuntu 18.04.2 LTS.
On servers with Ubuntu 18.04.2 LTS once in while the application gets an error while connecting to any S3 (though practically any https URL) and no issues on servers with Ubuntu 14,
Error Occurred: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
After restart it gets resolved without any code change or fix.
On further investigation we see one more diff on the env. servers with this error-
OpenSSL=OpenSSL 1.1.1
servers without any error-
OpenSSL version=1.0.1f
I have found a link here where users are complaining same problem and getting resolved after restart.
So, question--
1.How this issue can be resolved, someone has faced the same or similar problem?
2.What things changes after the restart that application start working fine with same code?
Please help me, looking for some guidance.
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.
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.
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.
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?