Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
walladev #1
Member since Apr 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: TLS 1.2 support
Hi alex,

I want to know about matrix supported TLS 1.2?
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
All Tls is based on the SslStream class of the .NET framework.
So it uses what the framework and the underlying OS supports.
Avatar
walladev #3
Member since Apr 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
So I am using Matrix 1.5.0.0, I only upgrade .net framework to 4.5 ==> Matrix will use TLS 1.2.
Or Any configuration I need to do ?
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I think its possible to specify multiple SslProtocols. On .Net 4.5 we could do:

  1. private static readonly SslProtocols _sslProtocols = SslProtocols.Tls12 | SslProtocols.Tls11 | SslProtocols.Tls;

I'll try that when I have some minutes and then come back to you.

Alex
This post was edited on 2014-01-16, 11:27 by Alex.
Avatar
walladev #5
Member since Apr 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #3
Thanks Alex. Sure, My server has already supported TLS 1.2. I need to change tls to 1.2 on client too. So how to make a call back to set my own tls version?
This post was edited on 2014-01-16, 11:20 by walladev.
Avatar
Alex #6
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I have attached a new .NET 4.5 build (1.5.4.6)

This does the handshake now with Tls, Tls11 and Tls12 options. If your server supports Tls 1.2 it should select it.
Please try the attached build and let me know.

Alex
The author has attached one file to this post:
Matrix.7z 368.1 kBytes
You have no permission to open this file.
Avatar
Alex #7
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
did you had a chance to test it?
Avatar
walladev #8
Member since Apr 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
I'm still have a chance to test it. I will do it soon and return the result to you.

I have a problem as below,

On Windows XP, It does not support .NET Framework 4.5. But I still want to use TLS 1.2 on it. I need to support from you:

1) Matrix has any method to use overloading method to inject a third party library which support TLS 1.2
2) Matrix can be customized to support TLS 1.2 on Window XP. If ok,  I need to know how much i must to pay extra fee.

p/s: I am using Matrix 1.5.0.0 licence.

Thanks Alex,
Avatar
Alex #9
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by walladev:
1) Matrix has any method to use overloading method to inject a third party library which support TLS 1.2
no

Quote by walladev:
2) Matrix can be customized to support TLS 1.2 on Window XP. If ok,  I need to know how much i must to pay extra fee.
Everything is possible. Please contact us directly by email for such inquiries

Quote by walladev:
p/s: I am using Matrix 1.5.0.0 licence.
as long as your support and maintenance is not expired you can always use the latest version.

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: