Did you import Vysper certificate in your keystore?  Gtalk server is
probably using a trusted certificate...



2012/3/28 Eilon Yardeni <[email protected]>

> Hello,
>
> I am trying to connect my XMPP client to Vysper running in embeded mode
> using the bogus TLS certificate that
> comes with the code.
>
> Problem is the he client fails to start TLS.
>
> Client set up filter like this:
>
> final SSLContext c = SSLContext.getInstance("SSL");
>
> c.init(null, null, new java.security.SecureRandom());
>
>
> final SslFilter filter = new SslFilter(c);
>
> filter.setUseClientMode(true);
>
>
> ioSession.getFilterChain().addFirst("sslFilter", filter);
>
>
> The same client works well with gtalk xmpp server, so it looks like it is
> something with the server side setup.
>
>
> Any help is appreciated.
>
>
> Thanks,
>
> Eilon
>

Reply via email to