TLS Problem in Jabber Cllient




Hi there,

I've a problem using TLS for XMPP protocol in a jabber client I'm developing...
if anybody has experince with such things,

after some XMPP protocol messages between the client and the server, the client should negotiate TLS protocol..
C: Client Hello
S: Server Hello, Certification, Hello Done
C: Key Exchange..
S: Key Exchange, Negotiation Done..

I used System.net.Security.SSLStream like this :
SSLStream sslStream = new SSLStream(netStream);
sslStream.AuthenticateAsClient("gmail.com", null, Protocol.TLS, false);
I tried "talk.google.com" instead of that gmail.com and I tried "true" instead of that "false"... still the same error which is :

the client sends his first Client hello, the server replies with that triple message.. then the SSLStream throws exception that says "Wrong Packet Format"

Thanks for ur kind help...

Yours,
Haytham Alaa,
ACM ASCIS Vice President,
Faculty of Computer and Informtion Sciences,
Ain Shams University,
Cairo,
Egypt.

.



Relevant Pages

  • Re: Configuring SSL in IIS SMTP
    ... so since I have the combination of IIS with Auth/TLS and Secure ... Channel required working with the offsite client that requires TLS, ... If the SSL checkbox means SSL .. ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: FreeBSD Security Advisory FreeBSD-SA-09:15.ssl
    ... FreeBSD Security Advisory ... that session renegotiation is rarely used. ... In fact, client certificates work ... That's why we'll all be really happy when the new, fixed version of TLS ...
    (FreeBSD-Security)
  • Re: [opensuse] Building VPN network with OpenVPN and OpenSuSE11-->TLS negotiation.
    ... My problem has been solved although I still have problem with its 'TLS Negotiation'. ... But the client still can not connect to the openvpn-server. ... Building VPN network with OpenVPN and OpenSuSE11 ...
    (SuSE)
  • Re: Problem with SslStream when using Windows Vista
    ... The code for the server & client follow. ... private int _port = 0; ... // SslStream using the client's network stream. ...
    (microsoft.public.dotnet.framework)
  • Re: [SLE] SMTP Auth howto for 8.2 Professional.
    ... > Can't remember for sure if I set up TLS first or if SASL worked before I ... > Just put the IP address of your test client in the mynetworks in main.cf ... mail server the same way as the gateway server ... I guess, seeing as how I haven't set up authentication up until now, I'm ...
    (SuSE)