[rt-users] RT 4.0.2 SSL Email Verification Failed

Luciano Ernesto da Silva luciano at cpd.ufrgs.br
Mon Oct 17 11:51:27 EDT 2011



I was testing RT with a  self-signed certificate(SSL), I send a email to
queue, but in /var/log/mail I got this:


(temporary failure. Command output: An Error Occurred =================
500 Can't connect to rt4.dev.ufrgs.br:443 (certificate verify failed) )


No errors in other log files, like syslog or rt.log. The queues were not
receiving mails.


I installed all PERL dependencies to SSL, as described here
http://www.gossamer-threads.com/lists/rt/users/71129 :


Pod::Usage, HTML::TreeBuilder, Getopt::Long, HTML::FormatText,



Crypt::SSLeay, LWP::Protocol::https 



As described here
https.html I made and applied a  patch against file

Rt-mailgate, around line 151:

-    my $ua   = LWP::UserAgent->new();

+    my $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 });


Patch link here: http://pastebin.com/DQCH3R8L 


Now perl don't check the certificate, and the queues receive all


My question: Is this the correct approach for that? 




Luciano Silva



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111017/d1a85778/attachment.htm>

More information about the rt-users mailing list