[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Irssi-xmpp-dev] SSL errors



Hi Pablo,

With theses errors, the connection is blocked or not ?

The SSL support isn't yet very tested. It's work "out of the box"
for me, but I know there is some problems when the server address or the
port is wrong.

You can try this little patch (xmpp-irssi-disable_ssl_cb.patch) which
disable SSL errors. Test it and verify if the connection is really
secured.

I'll improve SSL errors handle for the next releases. It's currently not
on top of my "todo list" be it'll in time.

Regards,
cdidier

* Pablo Barbáchano <pablobarbachano@domain.hid> [2007-08-23 13:50:21 +0000]:
> Hi, I'm getting this:
> 
> 14:30 -!- SSL: Certificate is not trusted! 
> 14:30 -!- SSL: No certificate found! 
> 14:30 -!- SSL: Certificate hostname does not match 
>           expected hostname! 
> 
> How can I ignore this error and continue?
> 
> Cheers
> Pablo

-- 
Colin Didier                        Web: http://cybione.org/
                                           Jabber: cdidier@domain.hid
Index: xmpp-servers.c
===================================================================
RCS file: /cvs/irssi-xmpp/irssi-xmpp/src/core/xmpp-servers.c,v
retrieving revision 1.8
diff -u -r1.8 xmpp-servers.c
--- xmpp-servers.c	22 Aug 2007 18:20:50 -0000	1.8
+++ xmpp-servers.c	23 Aug 2007 18:10:35 -0000
@@ -323,7 +323,7 @@
             goto err_connect;
         }
 
-        ssl = lm_ssl_new(NULL, (LmSSLFunction) xmpp_server_ssl_cb, server,
+        ssl = lm_ssl_new(NULL, NULL, server,
             NULL);
         lm_connection_set_ssl(xmppserver->lmconn, ssl);
         lm_ssl_unref(ssl);