Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
mark@4qtrs.net #1
Member since Jun 2011 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Is it possible to disable SSL chain validation?
Hello,

I'm trying to use BOSH over SSL (non SSL works fine) and having difficulty with self-signed certs. 

Is there a way to disable SSL chain validation in Silverlight or the matrix SDK? I have seen this sample but it appears to only work in windows apps and not Silverlight.
http://www.ag-software.net/matrix-xmpp-sdk/matrix-develope…

Thanks,
Mark
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello Mark,

there is no ServicepointManager in Silverlight, Windows Phone and Windows Store Apps. So we cannot control the certificate validation at all in code and accept invalid or untrusted certificates. But it should work when you add your root CA or the complete cert to the certificate store of your machine in the Windows Control Panel or IE.

Alex
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: MatriX RSS