Re: SSL Session reuse with SChannel (Windows)
- From: DaveMo <david.mowers@xxxxxxxxx>
- Date: Wed, 27 May 2009 07:54:43 -0700 (PDT)
On May 25, 1:46 am, ju <juofl...@xxxxxxxxx> wrote:
Hello
I have a program that use schannel.dll to make a SSL connection to
remote server. But I'd like to disconnect from server often and
reconnect without the need to renegotiate shared key again. I know
that SSL support this, but don;t know how to make it with SChannel.
Here are some links that can 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...
I believe this is default behavior as long as you don't mess with the
flags in the SCHANNEL_CRED structure. Witness:
dwSessionLifespan
The number of milliseconds that Schannel keeps the session in its
session cache. After this time has passed, any new connections between
the client and the server require a new Schannel session. Set the
value of this member to zero to use the default value of 36000000
milliseconds (ten hours).
Banes will probably post something later telling me I'm wrong. He
loves doing that :)
HTH,
Dave
.
- Follow-Ups:
- Re: SSL Session reuse with SChannel (Windows)
- From: jabanes
- Re: SSL Session reuse with SChannel (Windows)
- References:
- Prev by Date: Questions and problems about "autoreg.cpp" file in "CSPDK" Packa
- Next by Date: Re: Removal of inherited aces
- Previous by thread: SSL Session reuse with SChannel (Windows)
- Next by thread: Re: SSL Session reuse with SChannel (Windows)
- Index(es):
Relevant Pages
|
Loading