Hello Monks, I am pretty new to perl. Coming from the python world but want to learn this language. I am trying to get info on setting up a simple HTTPS server. All I want to do is setup a simple HTTPS server that will allow a client to connect and using the Net::SSLeay module, I would like to pull out the SNI host value in order to assign the proper certs to the connection. Ideally I am setting up a multi-host SSL server. Single IP address but with the ability to connect to multiple hostnames (on the same server, and will assign certs as needed). I have been reading a bit and someone told me to utilize Net::SSLeay but I am getting lost using IO::Socket::SSL and Net::SSLeay and how to connect things to pull the get_servername call from Net::SSLeay. Any and all help is greatly appreciated. I think I should have started in perl with easier test projects. Thanks. -R1n0ck

In reply to IO::Socket::SSL and Net::SSLeay by r1n0ck

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.