Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

SSL on a TCP connection

by Marcello (Hermit)
on Oct 14, 2001 at 15:54 UTC ( [id://118747]=perlquestion: print w/replies, xml ) Need Help??

Marcello has asked for the wisdom of the Perl Monks concerning the following question: (network programming)

Hello, I've recently seen some documentation which claims to be able to switch to SSL encryption when a TCP connection is open. I have written a TCP server which accepts several commands. To offer more security, I also would like to use SSL, although not necessarily during an active connection. I use socket(), accept() etc. within my server. Is it possible to 'SSL-enable' my server and what packages do I need? TIA Regards, Marcel

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: SSL on a TCP connection
by pjf (Curate) on Oct 14, 2001 at 17:27 UTC
    Howdy Marcello,

    CPAN is your friend. Take a look at IO::Socket::SSL, Net::Daemon::SSL, or the many other SSL modules that are available. There's a good chance that one of them will suit your needs.

    Cheers,
    Paul

Re: SSL on a TCP connection
by echo (Pilgrim) on Oct 14, 2001 at 16:45 UTC
    Others will undoubtedly offer a Perl solution, meanwhile an easy way which works well is to use an SSL wrapper such as stunnel or sslwrap.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://118747]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found