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

Re: [Irssi-xmpp-dev] SSL errors



I patched it and tried again.
Hmm it failed and then I realized I didn't specify the port, so it was 
taking that as the password X|. Now it works beautifully!

By the way, I did an initial Debian package here:
http://mentors.debian.net/cgi-bin/maintainer-packages?action=details;package=irssi-xmpp

Thanks!
Pablo

On Thu, Aug 23, 2007 at 08:53:02PM +0200, Colin Didier wrote:
> 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);


-- 
"When in doubt, use brute force" -- Ken Thompson