zigdon / twirssi

An irssi script allowing the use of Twitter from within the IRC client.
http://twirssi.com
133 stars 26 forks source link

SSL verification failure after LWP update #29

Closed mjhsieh closed 12 years ago

mjhsieh commented 13 years ago

After LWP (we believe it's LWP) update, twirssi.pl failed to load:

18:33 500 Can't verify SSL peers without knowning which Certificate Authorities to trust at /Users/jdoe/.irssi/scripts/autorun/twirssi.pl line 725

But if Mozilla::CA is installed, the error becomes:

18:35 500 Can't connect to api.twitter.com:443 (Crypt-SSLeay can't verify hostnames) at /Users/mjhsieh/.irssi/scripts/autorun/twirssi.pl line 725

So I can only insert a line of

$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;

to the twirssi.pl.. I know that's bad, but this does make it work. Any idea on how to solve it gracefully?

Reference:

mjhsieh commented 12 years ago

Sorry for late update, I have not been able to use my unix account for quite a long time. I indeed do not have the same problem after upgrading to a current one (v2.5.1beta136).