Okey, I am kind of lost right now: Let see the foolow examples. First we'll create SSL server using openssl like that: openssl s_client -reconnect -state -prexit -connect localhost:1234 -cert testpkey.pem then we make 5 repeatedly connections:
openssl s_client -reconnect -state -prexit -connect localhost:1234 -ce +rt testpkey.pem -no_ticket
Then on all my 5 requests I've the same session-id and master-key:
Session-ID: 9C2B75807FE8AEB2E1C05B7B34D3F9F0B9394975D23AEA1BCC41F0 +BE1A1578CF Session-ID-ctx: Master-Key: 56182F7B8149E11642665147042CC499581786CA6565D5F3FB7C59 +E446E520BB50D3857CA3323E665C9F86A87D3CD45C

If I use no_ticket option on the server, each my request have different Session-ID.

What I understand, is that session caching could set the old session-id or create new one, each time new connection occurs.

But... what I misunderstood is:

Thanks

In reply to Re^2: IO::Socket::SSL Server-side Session caching by dpetrov
in thread IO::Socket::SSL Server-side Session caching by dpetrov

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.