Project

General

Profile

Error when email is sent for open ticket: `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get issuer certificate)

Added by Nicola Lazzara about 3 years ago

Hi to all, i work on it office where is used redmine. From 30/09 when user try to open a ticket to our system, redmine fails with the error in object.

Full error is this:

#< #5.3.0 x-unix; /usr/lib/ruby/2.7.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get issuer certificate) (OpenSSL::SSL::SSLError) from /usr/lib/ruby/2.7.0/net/protocol.rb:44:in `ssl_socket_connect' from /usr/lib/ruby/2.7.0/net/http.rb:1009:in `connect' from /usr/lib/ruby/2.7.0/net/http.rb:943:in `do_start' from /usr/lib/ruby/2.7.0/net/http.rb:932:in `start' from /var/www/redmine4/extra/mail_handler/rdm-mailhandler.rb:39:in `post_form' from /var/www/redmine4/extra/mail_handler/rdm-mailhandler.rb:166:in `submit' from /var/www/redmine4/extra/mail_handler/rdm-mailhandler.rb:213:in `<main>'> #SMTP#

I think that error is about this : https://docs.certifytheweb.com/docs/kb/kb-202109-letsencrypt/

I create new certificate after this, but it's not solve my problem.

No other changes append on project. Can anyone help me how i can fix this error?

This is actual configuration of redmine :

Environment:
Redmine version 4.0.5.stable
Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu]
Rails version 5.2.3
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp