Fellow Monks,

I want to write a Perl application to manage several servers from a unique management console. Of course, communication between the management console and the servers must be encrypted.

What I want to do is to write a daemon, that is binded to an arbitrary port, and write a client that connects to.

My problem is about authentication : how can I be sure that only my management console can connect the daemon, and which Perl module should I use for that.

I have thought about using IO::Socket::SSL, but it seems to be done, like SSL anyway, to manage easily one server and several clients, and what I want is to have one client (my management console) and several managed servers. Of course, I could have one different certificate per manager server, but that is not the Clean Way To Do It (C)...

Eventually, I'd like an SSL-encrypted connexion with a SSH-like key (RSA) authentication...

Any idea or module or pointer ?


Many thanks

--
zejames

In reply to Management console encrypted connexion by zejames

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.