I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-12-29 04:03:52-08 by megha
Need help in designing a ssl perl client connecting to ssl server writen in C
I am using the following version of perl modules. Net SSLeay version is 1.08 IO::Socket::SSL version is 0.96 I have the following requirement i need to extend SSL capability to my application. I have designed + it as following. On the server side. I have a tcp server and when a request for any new connection occurs I accept the connection an +d spawn thread ( using pthread api) and in the thread i do the ssl related initialization and bloc +k on SSL_accept On the client side I have created a tcp socket using Net::Telnet api and then using the $sock = IO::Socket::SSL->start_SSL( $sock, 'SSL_passwd_cb' => sub{return "abc"}, 'SSL_version' => 'SSLv2', #'SSL_startHandshake' => 0 ) || die "Encountered an SSL handshake problem:".IO::Socket::SSL::errstr(); $sock->connect_SSL; I have follosing questions 1. Is my desing correct? 2. when ever i try to connect i get the following error "SSL connect attempt failederror:00000000:lib(0):func(0):reason(0) at ./ssl_client2.pl" + , is this error has any thing to do with the version of the modules +i am using. 3. Can you please tell How to desing a skeleton for small echo client and server using the perl SS +L module. Any doc which explain this flow is greatly appreciated. Thanks Amar
Direct Responses: 9614 | Write a response