Back-story: I am fed up with SOAP::Lite. It's slow, buggy, not documented well enough, and I don't need what it does. I want to write something in its place, a server that accepts requests, does things, and returns something simple (like a single integer), and a client to talk to it. However, I want these programs to talk over secure sockets. Enter the dragon, IO::Socket::SSL.

I don't know what the hell I'm doing, though. As the Green Lady would say, I am "quite young" when it comes to SSL and public keys and private keys and the like. Here is my predicament. What do I have to do in order to set up a secure channel so that a client app must go through the proper hoops to talk to the server app? I've started reading an SSL how-to guide, but I'm not sure I understand it exactly. A lot of the resources I've found seem to be geared specifically towards HTTPS, and I'm not necessarily writing an HTTP server.


Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart

In reply to Creating programs using SSL by japhy

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.