Reuse SSL Session with SChannel (Windows)

I have a program that uses schannel.dll to connect SSL to a remote server. But I would like to frequently disconnect from the server and reconnect without having to re-negotiate the shared key. I know SSL supports this, but dont know how to do it using SChannel.

Can you help me?

Here are some links that might help:

Creating a secure connection using Schannel: http://msdn.microsoft.com/en-us/library/aa374782(VS.85).aspx

SSL session reuse - how to find if supported ?: http://royontechnology.blogspot.com/2008/01/how-to-find-out-if-server-supports-ssl.html

0


a source to share


1 answer


If you want reconnectors to work, it is important to use the same credential descriptor for each connection. You will also need to pass into the same target name string when calling InitializeSecurityContext. sweetheart much more automatically.



0


a source







All Articles