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: 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)
  • Re: authentication (SRP*, DH, TLS)
    ... bound to TLS and has to be done after establishing the link be it TLS ... (whether it's a client or a server), the node has to have a secret. ... B masternode offers core services and every nodeconnects to ... How secure does the authentication have to be, ...
    (sci.crypt)
  • Re: Enabling STARTTLS in Exchange 2003 IMAP service?
    ... But also, as I indicated earlier, if you enable and require TLS for logins, ... You must then set up the client for Secure ... My guess is that most IMAP ... Exchange will not support encrypted logins. ...
    (microsoft.public.exchange.admin)