Problem with receiving email and importing into project
Added by Ron Jenkins almost 12 years ago
Hi all,
I am using the Bitnami Redmine Stack:- Redmine 2.1.3
- ruby 1.9.3p327
- Rails 3.2.9
I am using the following entry in crontab:
* */3 * * * * /opt/redmine/ruby/bin/rake -f /opt/redmine/apps/redmine/htdocs/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=myhost.com username=remine@myhost.com password="xxx+++" project=Main tracker=bug allow_override=project port=143 ssl=true port=993 folder=Inbox unknown_user=accept MAILTO=test@example.com
When the crontab task is executed I get the following error:
rake aborted! SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I have put the root.cer and root.der certificate from cacert.org in this folder:
/opt/redmine/apache2/conf
I also put the certificte domain "myhost.pem" here.
In the file:
/opt/redmine/apache2/conf/extra/http-ssl.conf
I have linked the certificate:
SSLCertificateFile "/opt/redmine/apache2/conf/myhost.pem"
Any ideas how I can prevent the upper named error?
For me it seems that rake is missing the root certificate from cacert.org, so that it could verify the imap cert?
puzzled
Any help highly appreciated!
:-)
Regards,
Ron
Replies (1)
RE: Problem with receiving email and importing into project - Added by Jan Niggemann (redmine.org team member) almost 12 years ago
The above error is about the certificate of the IMAP server.
Execute the task manually with --trace and report back.