in reply to SSL sockets

use IO::Socket::SSL;

Do you really mean you need SSL? Or will just regular encryption do? If so, the easiest module is Net::EasyTCP


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: SSL sockets
by FredKJ (Novice) on Aug 17, 2011 at 20:03 UTC
    Yes I need to use SSL. It looks like IO::Socket:SSLpm is the direction but want to verify.
      Just to be more specific about Net::EasyTCP, it does do RSA encryption with key exchange, but it is slower than other encryption methods. It requires Crypt::RSA, but that still isn't SSL.

      Also check out Net::SSL, it may make things easier to handle the socket.


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh

      The standard approach is IO::Socket::SSL but Net::SSL will give you more control over the details. I believe zentara was recommending Net::EasyTCP as a simple alternative so you don't have to muck around with generating/buying certs because that's the big pain in the butt when dealing with SSL.

      I suppose I'm just repeating zentara's advice, but it's worth repeating.