Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
tomek #1
Member since Nov 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: ValidateCertificate method doesn't validate certificates
Hi,
ClientSocket.cs method ValidateCertificate doesn't actually validate any client certificate, but proceeds with FireOnValidateCertificate.
the comment says: "Validate the SSL certificate here
for now we dont stop the SSL connection an return always true".
Best Regards,
Tomek
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
thats correct and how its supposed to work. You should validate the certificate and decide whether to proceed with the connection or not. We were very strict with this in earlier versions of the SDK where we denied invalid certificates by default. We changed this because many certificates on the XMPP network are untrusted or self signed which caused us many support because users were not able to connect with the libraries.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS